Blame SPECS/nodejs-arr-diff.spec

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