Blame SPECS/nodejs-lodash.keys.spec

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