Blame SPECS/nodejs-lodash.defaults.spec

c19fce
%{?scl:%scl_package nodejs-%{npm_name}}
c19fce
%{!?scl:%global pkg_name %{name}}
c19fce
c19fce
%{?nodejs_find_provides_and_requires}
c19fce
%global npm_name lodash.defaults
c19fce
c19fce
Summary:       The modern build of lodash’s _.defaults as a module.
c19fce
Name:          %{?scl_prefix}nodejs-%{npm_name}
c19fce
Version:       3.1.2
c19fce
Release:       5%{?dist}
c19fce
License:       MIT
c19fce
URL:           https://github.com/lodash/lodash
c19fce
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
c19fce
BuildRequires: %{?scl_prefix}nodejs-devel
c19fce
ExclusiveArch: %{nodejs_arches} noarch
c19fce
BuildArch:     noarch
c19fce
c19fce
%description
c19fce
The modern build of lodash’s _.defaults as a module.
c19fce
c19fce
%prep
c19fce
%setup -q -n package
c19fce
c19fce
%build
c19fce
c19fce
%install
c19fce
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
c19fce
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
c19fce
c19fce
%nodejs_symlink_deps
c19fce
c19fce
%files
c19fce
%doc README.md
c19fce
%license LICENSE
c19fce
%{nodejs_sitelib}/%{npm_name}
c19fce
c19fce
%changelog
c19fce
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.1.2-5
c19fce
- rh-nodejs8 rebuild
c19fce
c19fce
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.1.2-4
c19fce
- Use macro in -runtime dependency
c19fce
c19fce
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.1.2-3
c19fce
- Rebuilt with updated metapackage
c19fce
c19fce
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 3.1.2-2
c19fce
- Enable scl macros
c19fce
c19fce
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 3.1.2-1
c19fce
- Initial package