Blame SPECS/nodejs-glob-base.spec

2c25ea
%{?scl:%scl_package nodejs-%{npm_name}}
2c25ea
%{!?scl:%global pkg_name %{name}}
2c25ea
2c25ea
%{?nodejs_find_provides_and_requires}
2c25ea
%global npm_name glob-base
2c25ea
2c25ea
Summary:       Returns an object with the (non-glob) base path and the actual pattern
2c25ea
Name:          %{?scl_prefix}nodejs-%{npm_name}
2c25ea
Version:       0.3.0
ca7066
Release:       5%{?dist}
2c25ea
License:       MIT
2c25ea
URL:           https://github.com/jonschlinkert/glob-base
2c25ea
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
2c25ea
BuildRequires: %{?scl_prefix}nodejs-devel
2c25ea
ExclusiveArch: %{nodejs_arches} noarch
2c25ea
BuildArch:     noarch
2c25ea
2c25ea
%description
2c25ea
Returns an object with the (non-glob) base path and the actual pattern.
2c25ea
2c25ea
Use glob-parent if you just want the base path.
2c25ea
2c25ea
%prep
2c25ea
%setup -q -n package
2c25ea
2c25ea
%build
2c25ea
2c25ea
%install
2c25ea
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
2c25ea
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
2c25ea
2c25ea
%nodejs_symlink_deps
2c25ea
2c25ea
%files
2c25ea
%{!?_licensedir:%global license %doc}
2c25ea
%doc README.md
2c25ea
%license LICENSE
2c25ea
%{nodejs_sitelib}/%{npm_name}
2c25ea
2c25ea
%changelog
ca7066
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.0-5
ca7066
- Resolves: RHBZ#1543198, rebuild for multiarch
ca7066
2c25ea
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.0-4
2c25ea
- Use macro in -runtime dependency
2c25ea
2c25ea
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.0-3
2c25ea
- Rebuilt with updated metapackage
2c25ea
2c25ea
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 0.3.0-2
2c25ea
- Enable scl macros, fix license macro for el6
2c25ea
2c25ea
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.3.0-1
2c25ea
- Initial package