Blame SPECS/nodejs-number-is-nan.spec

89bdb9
%{?scl:%scl_package nodejs-%{npm_name}}
89bdb9
%{!?scl:%global pkg_name %{name}}
89bdb9
%{?nodejs_find_provides_and_requires}
89bdb9
89bdb9
%global npm_name number-is-nan
89bdb9
89bdb9
Summary:       ES6 Number.isNaN ponyfill
89bdb9
Name:          %{?scl_prefix}nodejs-%{npm_name}
89bdb9
Version:       1.0.0
89bdb9
Release:       4%{?dist}
89bdb9
License:       MIT
89bdb9
URL:           https://github.com/sindresorhus/number-is-nan
89bdb9
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
89bdb9
BuildRequires: %{?scl_prefix}runtime
89bdb9
ExclusiveArch: %{nodejs_arches} noarch
89bdb9
BuildArch:     noarch
89bdb9
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
89bdb9
89bdb9
%description
89bdb9
ES6 Number.isNaN() ponyfill
89bdb9
89bdb9
Ponyfill: A polyfill that doesn't overwrite the native method
89bdb9
89bdb9
%prep
89bdb9
%setup -q -n package
89bdb9
89bdb9
%build
89bdb9
89bdb9
%install
89bdb9
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
89bdb9
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
89bdb9
89bdb9
%files
89bdb9
%doc license readme.md
89bdb9
%{nodejs_sitelib}/%{npm_name}
89bdb9
89bdb9
%changelog
89bdb9
* Wed Jan 20 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-4
89bdb9
- Invoke find_provides_and_requires macro
89bdb9
89bdb9
* Fri Jan 15 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-3
89bdb9
- Enable scl macros
89bdb9
89bdb9
* Thu Sep 10 2015 Troy Dawson <tdawson@redhat.com>
89bdb9
- spec change: npmname -> npm_name
89bdb9
89bdb9
* Thu Sep 10 2015 Troy Dawson <tdawson@redhat.com> - 1.0.0-1
89bdb9
- Initial package