Blame SPECS/nodejs-lodash.keys.spec

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