|
|
238957 |
%{?scl:%scl_package nodejs-%{npm_name}}
|
|
|
238957 |
%{!?scl:%global pkg_name %{name}}
|
|
|
238957 |
%{?nodejs_find_provides_and_requires}
|
|
|
238957 |
|
|
|
238957 |
%global npm_name is-finite
|
|
|
238957 |
|
|
|
238957 |
Summary: ES6 Number.isFinite ponyfill
|
|
|
238957 |
Name: %{?scl_prefix}nodejs-%{npm_name}
|
|
|
238957 |
Version: 1.0.1
|
|
|
238957 |
Release: 6%{?dist}
|
|
|
238957 |
License: MIT
|
|
|
238957 |
URL: https://github.com/sindresorhus/is-finite
|
|
|
238957 |
Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
|
|
|
238957 |
BuildRequires: %{?scl_prefix}runtime
|
|
|
238957 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
238957 |
BuildArch: noarch
|
|
|
238957 |
Provides: %{?scl_prefix}nodejs-%{npm_name} = %{version}
|
|
|
238957 |
|
|
|
238957 |
%description
|
|
|
238957 |
ES6 Number.isFinite() ponyfill
|
|
|
238957 |
|
|
|
238957 |
Ponyfill: A polyfill that doesn't overwrite the native method
|
|
|
238957 |
|
|
|
238957 |
%prep
|
|
|
238957 |
%setup -q -n package
|
|
|
238957 |
|
|
|
238957 |
%build
|
|
|
238957 |
|
|
|
238957 |
%install
|
|
|
238957 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
238957 |
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
238957 |
|
|
|
238957 |
%files
|
|
|
238957 |
%doc license readme.md
|
|
|
238957 |
%{nodejs_sitelib}/%{npm_name}
|
|
|
238957 |
|
|
|
238957 |
%changelog
|
|
|
238957 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-6
|
|
|
238957 |
- Use macro in -runtime dependency
|
|
|
238957 |
|
|
|
238957 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-5
|
|
|
238957 |
- Rebuilt with updated metapackage
|
|
|
238957 |
|
|
|
238957 |
* Thu Jan 14 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-4
|
|
|
238957 |
- Enable find provides and requires macro
|
|
|
238957 |
|
|
|
238957 |
* Thu Jan 07 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-3
|
|
|
238957 |
- Enable scl macros
|
|
|
238957 |
|
|
|
238957 |
* Thu Sep 10 2015 Troy Dawson <tdawson@redhat.com>
|
|
|
238957 |
- spec change: npmname -> npm_name
|
|
|
238957 |
|
|
|
238957 |
* Thu Sep 10 2015 Troy Dawson <tdawson@redhat.com> - 1.0.1-1
|
|
|
238957 |
- Initial package
|