Blame SPECS/nodejs-parse-glob.spec

92af55
%{?scl:%scl_package nodejs-%{npm_name}}
92af55
%{!?scl:%global pkg_name %{name}}
92af55
92af55
%{?nodejs_find_provides_and_requires}
92af55
%global npm_name parse-glob
92af55
92af55
Summary:       Parse a glob pattern into an object of tokens
92af55
Name:          %{?scl_prefix}nodejs-%{npm_name}
92af55
Version:       3.0.4
92af55
Release:       5%{?dist}
92af55
License:       MIT
92af55
URL:           https://github.com/jonschlinkert/parse-glob
92af55
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
92af55
BuildRequires: %{?scl_prefix}runtime
92af55
ExclusiveArch: %{nodejs_arches} noarch
92af55
BuildArch:     noarch
92af55
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
92af55
92af55
%description
92af55
Parse a glob pattern into an object of tokens.
92af55
92af55
%prep
92af55
%setup -q -n package
92af55
92af55
%build
92af55
92af55
%install
92af55
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
92af55
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
92af55
92af55
%nodejs_symlink_deps
92af55
92af55
%files
92af55
%{!?_licensedir:%global license %doc}
92af55
%doc README.md
92af55
%license LICENSE
92af55
%{nodejs_sitelib}/%{npm_name}
92af55
92af55
%changelog
92af55
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.0.4-5
92af55
- rh-nodejs8 rebuild
92af55
92af55
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.0.4-4
92af55
- Use macro in -runtime dependency
92af55
92af55
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.0.4-3
92af55
- Rebuilt with updated metapackage
92af55
92af55
* Mon Jan 11 2016 Tomas Hrcka <thrcka@redhat.com> - 3.0.4-2
92af55
- Enable scl macros
92af55
92af55
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 3.0.4-1
92af55
- Initial package