Blame SPECS/nodejs-array-unique.spec

ab92fe
%{?scl:%scl_package nodejs-%{npm_name}}
ab92fe
%{!?scl:%global pkg_name %{name}}
ab92fe
ab92fe
%{?nodejs_find_provides_and_requires}
ab92fe
%global npm_name array-unique
ab92fe
ab92fe
Summary:       Return an array free of duplicate values
ab92fe
Name:          %{?scl_prefix}nodejs-%{npm_name}
ab92fe
Version:       0.2.1
ab92fe
Release:       6%{?dist}
ab92fe
License:       MIT
ab92fe
URL:           https://github.com/jonschlinkert/array-unique
ab92fe
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
ab92fe
BuildRequires: %{?scl_prefix}nodejs-devel
ab92fe
ExclusiveArch: %{nodejs_arches} noarch
ab92fe
BuildArch:     noarch
ab92fe
ab92fe
%description
ab92fe
Return an array free of duplicate values.
ab92fe
Fastest ES5 implementation.
ab92fe
ab92fe
%prep
ab92fe
%setup -q -n package
ab92fe
ab92fe
chmod 644 LICENSE package.json README.md
ab92fe
ab92fe
%build
ab92fe
ab92fe
%install
ab92fe
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
ab92fe
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
ab92fe
ab92fe
%nodejs_symlink_deps
ab92fe
ab92fe
%files
ab92fe
%{!?_licensedir:%global license %doc}
ab92fe
%doc README.md
ab92fe
%license LICENSE
ab92fe
%{nodejs_sitelib}/%{npm_name}
ab92fe
ab92fe
%changelog
ab92fe
* Fri Jul 07 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.1-6
ab92fe
- rh-nodejs8 rebuild
ab92fe
ab92fe
* Mon Jan 16 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.1-5
ab92fe
- Clean up
ab92fe
ab92fe
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.1-4
ab92fe
- Use macro in -runtime dependency
ab92fe
ab92fe
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.1-3
ab92fe
- Rebuilt with updated metapackage
ab92fe
ab92fe
* Mon Jan 11 2016 Tomas Hrcka <thrcka@redhat.com> - 0.2.1-2
ab92fe
- Enable scl macros
ab92fe
ab92fe
* Tue Dec 15 2015 Troy Dawson <tdawson@redhat.com> - 0.2.1-1
ab92fe
- Initial package