Blame SPECS/nodejs-regex-cache.spec

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