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