Blame SPECS/nodejs-regex-cache.spec

2d9189
%{?scl:%scl_package nodejs-%{npm_name}}
2d9189
%{!?scl:%global pkg_name %{name}}
2d9189
2d9189
%{?nodejs_find_provides_and_requires}
2d9189
%global npm_name regex-cache
2d9189
2d9189
Summary:       Memoize the results of a call to the RegExp constructor
2d9189
Name:          %{?scl_prefix}nodejs-%{npm_name}
2d9189
Version:       0.4.2
2d9189
Release:       5%{?dist}
2d9189
License:       MIT
2d9189
URL:           https://github.com/jonschlinkert/regex-cache
2d9189
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
2d9189
BuildRequires: %{?scl_prefix}nodejs-devel
2d9189
ExclusiveArch: %{nodejs_arches} noarch
2d9189
BuildArch:     noarch
2d9189
2d9189
%description
2d9189
Memoize the results of a call to the RegExp constructor, 
2d9189
avoiding repetitious runtime compilation of the same string 
2d9189
and options, resulting in dramatic speed improvements.
2d9189
2d9189
%prep
2d9189
%setup -q -n package
2d9189
2d9189
%build
2d9189
2d9189
%install
2d9189
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
2d9189
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
2d9189
2d9189
%nodejs_symlink_deps
2d9189
2d9189
%files
2d9189
%{!?_licensedir:%global license %doc}
2d9189
%doc README.md
2d9189
%license LICENSE
2d9189
%{nodejs_sitelib}/%{npm_name}
2d9189
2d9189
%changelog
2d9189
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.4.2-5
2d9189
- rh-nodejs8 rebuild
2d9189
2d9189
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.4.2-4
2d9189
- Use macro in -runtime dependency
2d9189
2d9189
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.4.2-3
2d9189
- Rebuilt with updated metapackage
2d9189
2d9189
* Mon Jan 11 2016 Tomas Hrcka <thrcka@redhat.com> - 0.4.2-2
2d9189
- Enable scl macros
2d9189
2d9189
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.4.2-1
2d9189
- Initial package