Blame SPECS/nodejs-is-number.spec

675576
%{?scl:%scl_package nodejs-%{npm_name}}
675576
%{!?scl:%global pkg_name %{name}}
675576
675576
%{?nodejs_find_provides_and_requires}
675576
%global npm_name is-number
675576
675576
Summary:       Returns true if the value is a number
675576
Name:          %{?scl_prefix}nodejs-%{npm_name}
675576
Version:       2.1.0
675576
Release:       4%{?dist}
675576
License:       MIT
675576
URL:           https://github.com/jonschlinkert/is-number
675576
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
675576
BuildRequires: %{?scl_prefix}nodejs-devel
675576
ExclusiveArch: %{nodejs_arches} noarch
675576
BuildArch:     noarch
675576
675576
%description
675576
Returns true if the value is a number. comprehensive tests.
675576
675576
To understand some of the rationale behind the decisions made 
675576
in this library (and to learn about some oddities of number 
675576
evaluation in JavaScript), see this gist.
675576
https://gist.github.com/jonschlinkert/e30c70c713da325d0e81
675576
675576
%prep
675576
%setup -q -n package
675576
675576
%build
675576
675576
%install
675576
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
675576
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
675576
675576
%nodejs_symlink_deps
675576
675576
%files
675576
%doc README.md
675576
%license LICENSE
675576
%{nodejs_sitelib}/%{npm_name}
675576
675576
%changelog
675576
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.1.0-4
675576
- Use macro in -runtime dependency
675576
675576
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.1.0-3
675576
- Rebuilt with updated metapackage
675576
675576
* Thu Jan 14 2016 Tomas Hrcka <thrcka@redhat.com> - 2.1.0-2
675576
- Enable scl macros
675576
675576
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 2.1.0-1
675576
- Initial package