|
|
17d83e |
%{?scl:%scl_package nodejs-lru-cache}
|
|
|
17d83e |
%{!?scl:%global pkg_name %{name}}
|
|
|
17d83e |
%{?nodejs_find_provides_and_requires}
|
|
|
17d83e |
|
|
|
17d83e |
Name: %{?scl_prefix}nodejs-lru-cache
|
|
|
ba31a8 |
Version: 2.7.0
|
|
|
17d83e |
Release: 1%{?dist}
|
|
|
17d83e |
Summary: A least recently used cache object for Node.js
|
|
|
17d83e |
License: MIT
|
|
|
17d83e |
Group: System Environment/Libraries
|
|
|
17d83e |
URL: https://github.com/isaacs/node-lru-cache
|
|
|
17d83e |
Source0: http://registry.npmjs.org/lru-cache/-/lru-cache-%{version}.tgz
|
|
|
17d83e |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
17d83e |
BuildArch: noarch
|
|
|
17d83e |
|
|
|
17d83e |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
17d83e |
|
|
|
17d83e |
%description
|
|
|
17d83e |
A cache object that deletes the least recently used items.
|
|
|
17d83e |
|
|
|
17d83e |
%prep
|
|
|
17d83e |
%setup -q -n package
|
|
|
17d83e |
|
|
|
17d83e |
%build
|
|
|
17d83e |
#nothing to do
|
|
|
17d83e |
|
|
|
17d83e |
%install
|
|
|
17d83e |
rm -rf %{buildroot}
|
|
|
17d83e |
|
|
|
17d83e |
mkdir -p %{buildroot}%{nodejs_sitelib}/lru-cache
|
|
|
17d83e |
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/lru-cache
|
|
|
17d83e |
|
|
|
17d83e |
%nodejs_symlink_deps
|
|
|
17d83e |
|
|
|
17d83e |
%clean
|
|
|
17d83e |
rm -rf %{buildroot}
|
|
|
17d83e |
|
|
|
17d83e |
%files
|
|
|
17d83e |
%defattr(-,root,root,-)
|
|
|
17d83e |
%{nodejs_sitelib}/lru-cache
|
|
|
17d83e |
%doc CONTRIBUTORS README.md LICENSE
|
|
|
17d83e |
|
|
|
17d83e |
%changelog
|
|
|
ba31a8 |
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 2.7.0-1
|
|
|
ba31a8 |
- New upstream release
|
|
|
ba31a8 |
|
|
|
17d83e |
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 2.5.0-1
|
|
|
17d83e |
- New upstream release 2.5.0
|
|
|
17d83e |
- AUTHORS renamed to CONTRIBUTORS
|
|
|
17d83e |
|
|
|
17d83e |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 2.3.0-3
|
|
|
17d83e |
- replace provides and requires with macro
|
|
|
17d83e |
|
|
|
17d83e |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3.0-2
|
|
|
17d83e |
- Add support for software collections
|
|
|
17d83e |
|
|
|
17d83e |
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.3.0-1
|
|
|
17d83e |
- new upstream release 2.3.0
|
|
|
17d83e |
|
|
|
17d83e |
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.2-1
|
|
|
17d83e |
- new upstream release 2.2.2
|
|
|
17d83e |
|
|
|
17d83e |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.1-2
|
|
|
17d83e |
- add missing build section
|
|
|
17d83e |
- improve summary/description
|
|
|
17d83e |
|
|
|
17d83e |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.1-1
|
|
|
17d83e |
- new upstream release 2.2.1
|
|
|
17d83e |
- clean up for submission
|
|
|
17d83e |
|
|
|
17d83e |
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.0-2
|
|
|
17d83e |
- fix BuildRequires not present on
|
|
|
17d83e |
|
|
|
17d83e |
* Wed Apr 18 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.0-1
|
|
|
17d83e |
- New upstream release 1.1.0
|
|
|
17d83e |
|
|
|
17d83e |
* Wed Mar 28 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.6-1
|
|
|
17d83e |
- new upstream release 1.0.6
|
|
|
17d83e |
|
|
|
17d83e |
* Sat Feb 25 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.5-1
|
|
|
17d83e |
- new upstream release 1.0.5
|
|
|
17d83e |
|
|
|
17d83e |
* Sun Dec 18 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-2
|
|
|
17d83e |
- add Group to make EL5 happy
|
|
|
17d83e |
|
|
|
17d83e |
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-1
|
|
|
17d83e |
- initial package
|