Blame SPECS/nodejs-lodash.defaults.spec

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