Blame SPECS/nodejs-regex-cache.spec

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