Blame SPECS/nodejs-is-extglob.spec

0e9d40
%{?scl:%scl_package nodejs-%{npm_name}}
0e9d40
%{!?scl:%global pkg_name %{name}}
0e9d40
0e9d40
%{?nodejs_find_provides_and_requires}
0e9d40
%global npm_name is-extglob
0e9d40
0e9d40
Summary:       Returns true if a string has an extglob
0e9d40
Name:          %{?scl_prefix}nodejs-%{npm_name}
0e9d40
Version:       1.0.0
b45012
Release:       5%{?dist}
0e9d40
License:       MIT
0e9d40
URL:           https://github.com/jonschlinkert/is-extglob
0e9d40
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
0e9d40
BuildRequires: %{?scl_prefix}nodejs-devel
0e9d40
ExclusiveArch: %{nodejs_arches} noarch
0e9d40
BuildArch:     noarch
0e9d40
0e9d40
%description
0e9d40
Returns true if a string has an extglob.
0e9d40
0e9d40
%prep
0e9d40
%setup -q -n package
0e9d40
0e9d40
%build
0e9d40
0e9d40
%install
0e9d40
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
0e9d40
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
0e9d40
0e9d40
%nodejs_symlink_deps
0e9d40
0e9d40
%files
0e9d40
%{!?_licensedir:%global license %doc}
0e9d40
%doc README.md
0e9d40
%license LICENSE
0e9d40
%{nodejs_sitelib}/%{npm_name}
0e9d40
0e9d40
%changelog
b45012
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-5
b45012
- Resolves: RHBZ#1543198, rebuild for multiarch
b45012
0e9d40
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-4
0e9d40
- Use macro in -runtime dependency
0e9d40
0e9d40
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-3
0e9d40
- Rebuilt with updated metapackage
0e9d40
0e9d40
* Thu Jan 07 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-2
0e9d40
- Enable scl macros
0e9d40
0e9d40
* Tue Dec 15 2015 Troy Dawson <tdawson@redhat.com> - 1.0.0-1
0e9d40
- Initial package