Blame SPECS/nodejs-lodash.isarray.spec

5c8dc4
%{?scl:%scl_package nodejs-%{npm_name}}
5c8dc4
%{!?scl:%global pkg_name %{name}}
5c8dc4
5c8dc4
%{?nodejs_find_provides_and_requires}
5c8dc4
%global npm_name lodash.isarray
5c8dc4
5c8dc4
Summary:       The modern build of lodash’s _.isArray as a module
5c8dc4
Name:          %{?scl_prefix}nodejs-%{npm_name}
5c8dc4
Version:       3.0.4
5c8dc4
Release:       2%{?dist}
5c8dc4
License:       MIT
5c8dc4
URL:           https://github.com/lodash/lodash
5c8dc4
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
5c8dc4
BuildRequires: %{?scl_prefix}runtime
5c8dc4
ExclusiveArch: %{nodejs_arches} noarch
5c8dc4
BuildArch:     noarch
5c8dc4
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
5c8dc4
5c8dc4
%description
5c8dc4
The modern build of lodash’s _.isArray as a module.
5c8dc4
5c8dc4
%prep
5c8dc4
%setup -q -n package
5c8dc4
5c8dc4
%build
5c8dc4
5c8dc4
%install
5c8dc4
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
5c8dc4
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
5c8dc4
5c8dc4
%nodejs_symlink_deps
5c8dc4
5c8dc4
%files
5c8dc4
%{!?_licensedir:%global license %doc}
5c8dc4
%doc README.md
5c8dc4
%license LICENSE
5c8dc4
%{nodejs_sitelib}/%{npm_name}
5c8dc4
5c8dc4
%changelog
5c8dc4
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 3.0.4-2
5c8dc4
- Enable scl macros, fix license macro for el6
5c8dc4
5c8dc4
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 3.0.4-1
5c8dc4
- Initial package