Blame SPECS/nodejs-arr-flatten.spec

942c5c
%{?scl:%scl_package nodejs-%{npm_name}}
942c5c
%{!?scl:%global pkg_name %{name}}
942c5c
942c5c
%{?nodejs_find_provides_and_requires}
942c5c
%global npm_name arr-flatten
942c5c
942c5c
Summary:       Recursively flatten an array or arrays
942c5c
Name:          %{?scl_prefix}nodejs-%{npm_name}
942c5c
Version:       1.0.1
942c5c
Release:       6%{?dist}
942c5c
License:       MIT
942c5c
URL:           https://github.com/jonschlinkert/arr-flatten
942c5c
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
942c5c
BuildRequires: %{?scl_prefix}nodejs-devel
942c5c
ExclusiveArch: %{nodejs_arches} noarch
942c5c
BuildArch:     noarch
942c5c
942c5c
%description
942c5c
Recursively flatten an array or arrays. This is the fastest 
942c5c
implementation of array flatten.
942c5c
942c5c
Why another flatten utility? I wanted the fastest implementation 
942c5c
I could find, with implementation choices that should work 
942c5c
for 95% of use cases, but no cruft to cover the other 5%.
942c5c
942c5c
%prep
942c5c
%setup -q -n package
942c5c
942c5c
%build
942c5c
942c5c
%install
942c5c
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
942c5c
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
942c5c
942c5c
%nodejs_symlink_deps
942c5c
942c5c
%files
942c5c
%{!?_licensedir:%global license %doc}
942c5c
%doc README.md
942c5c
%license LICENSE
942c5c
%{nodejs_sitelib}/%{npm_name}
942c5c
942c5c
%changelog
942c5c
* Fri Jul 07 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-6
942c5c
- rh-nodejs8 rebuild
942c5c
942c5c
* Mon Jan 16 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-5
942c5c
- Clean up
942c5c
942c5c
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-4
942c5c
- Use macro in -runtime dependency
942c5c
942c5c
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-3
942c5c
- Rebuilt with updated metapackage
942c5c
942c5c
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-2
942c5c
- Enable scl macros, fix license macro for el6
942c5c
942c5c
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.0.1-1
942c5c
- Initial package