Blame SPECS/nodejs-extglob.spec

405b5d
%{?scl:%scl_package nodejs-%{npm_name}}
405b5d
%{!?scl:%global pkg_name %{name}}
405b5d
405b5d
%{?nodejs_find_provides_and_requires}
405b5d
%global npm_name extglob
405b5d
405b5d
Summary:       Convert extended globs to regex-compatible strings
405b5d
Name:          %{?scl_prefix}nodejs-%{npm_name}
405b5d
Version:       0.3.1
f8f316
Release:       5%{?dist}
405b5d
License:       MIT
405b5d
URL:           https://github.com/jonschlinkert/extglob
405b5d
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
405b5d
BuildRequires: %{?scl_prefix}nodejs-devel
405b5d
ExclusiveArch: %{nodejs_arches} noarch
405b5d
BuildArch:     noarch
405b5d
405b5d
%description
405b5d
Convert extended globs to regex-compatible strings. 
405b5d
Add (almost) the expressive power of regular expressions to glob patterns.
405b5d
405b5d
%prep
405b5d
%setup -q -n package
405b5d
405b5d
%build
405b5d
405b5d
%install
405b5d
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
405b5d
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
405b5d
405b5d
%nodejs_symlink_deps
405b5d
405b5d
%files
405b5d
%{!?_licensedir:%global license %doc}
405b5d
%doc README.md
405b5d
%license LICENSE
405b5d
%{nodejs_sitelib}/%{npm_name}
405b5d
405b5d
%changelog
f8f316
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.1-5
f8f316
- Resolves: RHBZ#1543198, rebuild for multiarch
f8f316
405b5d
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.1-4
405b5d
- Use macro in -runtime dependency
405b5d
405b5d
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.1-3
405b5d
- Rebuilt with updated metapackage
405b5d
405b5d
* Mon Jan 11 2016 Tomas Hrcka <thrcka@redhat.com> - 0.3.1-2
405b5d
- Enable scl macros
405b5d
405b5d
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.3.1-1
405b5d
- Initial package