Blame SPECS/nodejs-lazy-cache.spec

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