Blame SPECS/nodejs-lodash.keys.spec

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