|
|
4bb806 |
%{?scl:%scl_package nodejs-%{npm_name}}
|
|
|
4bb806 |
%{!?scl:%global pkg_name %{name}}
|
|
|
4bb806 |
|
|
|
4bb806 |
%{?nodejs_find_provides_and_requires}
|
|
|
4bb806 |
%global npm_name arr-diff
|
|
|
4bb806 |
|
|
|
4bb806 |
Summary: Returns an array with only the unique values from the first array
|
|
|
4bb806 |
Name: %{?scl_prefix}nodejs-%{npm_name}
|
|
|
4bb806 |
Version: 2.0.0
|
|
|
1e2af3 |
Release: 6%{?dist}
|
|
|
4bb806 |
License: MIT
|
|
|
4bb806 |
URL: https://github.com/jonschlinkert/arr-diff
|
|
|
4bb806 |
Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
|
|
|
4bb806 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
4bb806 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
4bb806 |
BuildArch: noarch
|
|
|
4bb806 |
|
|
|
4bb806 |
%description
|
|
|
4bb806 |
Returns an array with only the unique values from the
|
|
|
4bb806 |
first array, by excluding all values from additional
|
|
|
4bb806 |
arrays using strict equality for comparisons.
|
|
|
4bb806 |
|
|
|
4bb806 |
%prep
|
|
|
4bb806 |
%setup -q -n package
|
|
|
4bb806 |
|
|
|
4bb806 |
%build
|
|
|
4bb806 |
|
|
|
4bb806 |
%install
|
|
|
4bb806 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
4bb806 |
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
4bb806 |
|
|
|
4bb806 |
%nodejs_symlink_deps
|
|
|
4bb806 |
|
|
|
4bb806 |
%files
|
|
|
4bb806 |
%{!?_licensedir:%global license %doc}
|
|
|
4bb806 |
%doc README.md
|
|
|
4bb806 |
%license LICENSE
|
|
|
4bb806 |
%{nodejs_sitelib}/%{npm_name}
|
|
|
4bb806 |
|
|
|
4bb806 |
%changelog
|
|
|
1e2af3 |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-6
|
|
|
1e2af3 |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
1e2af3 |
|
|
|
4bb806 |
* Mon Jan 16 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-5
|
|
|
4bb806 |
- Clean up
|
|
|
4bb806 |
|
|
|
4bb806 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-4
|
|
|
4bb806 |
- Use macro in -runtime dependency
|
|
|
4bb806 |
|
|
|
4bb806 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-3
|
|
|
4bb806 |
- Rebuilt with updated metapackage
|
|
|
4bb806 |
|
|
|
4bb806 |
* Mon Jan 11 2016 Tomas Hrcka <thrcka@redhat.com> - 2.0.0-2
|
|
|
4bb806 |
- Enable scl macros
|
|
|
4bb806 |
|
|
|
4bb806 |
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 2.0.0-1
|
|
|
4bb806 |
- Initial package
|