Blame SPECS/nodejs-anymatch.spec

dace98
%{?scl:%scl_package nodejs-%{npm_name}}
dace98
%{!?scl:%global pkg_name %{name}}
dace98
dace98
%{?nodejs_find_provides_and_requires}
dace98
%global npm_name anymatch
dace98
dace98
Summary:       Matches strings against anything
dace98
Name:          %{?scl_prefix}nodejs-%{npm_name}
dace98
Version:       1.3.0
dace98
Release:       6%{?dist}
dace98
License:       ISC
dace98
URL:           https://github.com/es128/anymatch
dace98
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
dace98
BuildRequires: %{?scl_prefix}nodejs-devel
dace98
ExclusiveArch: %{nodejs_arches} noarch
dace98
BuildArch:     noarch
dace98
dace98
%description
dace98
Matches strings against configurable strings, globs, 
dace98
regular expressions, and/or functions
dace98
dace98
Javascript module to match a string against a regular expression, 
dace98
glob, string, or function that takes the string as an argument 
dace98
and returns a truthy or falsy value. The matcher can also be 
dace98
an array of any or all of these. Useful for allowing a very 
dace98
flexible user-defined config to define things like file paths.
dace98
dace98
%prep
dace98
%setup -q -n package
dace98
dace98
%build
dace98
dace98
%install
dace98
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
dace98
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
dace98
dace98
%nodejs_symlink_deps
dace98
dace98
%files
dace98
%doc README.md
dace98
%license LICENSE
dace98
%{nodejs_sitelib}/%{npm_name}
dace98
dace98
%changelog
dace98
* Tue Jul 04 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.0-6
dace98
- rh-nodejs8 rebuild
dace98
dace98
* Mon Jan 16 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.0-5
dace98
- Clean up
dace98
dace98
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.0-4
dace98
- Use macro in -runtime dependency
dace98
dace98
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.0-3
dace98
- Rebuilt with updated metapackage
dace98
dace98
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 1.3.0-2
dace98
- Enable scl macros
dace98
dace98
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.3.0-1
dace98
- Initial package