|
Jared K. Smith |
3cd66a2 |
%{?nodejs_find_provides_and_requires}
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%global packagename memoizee
|
|
Jared K. Smith |
3cd66a2 |
%global enable_tests 0
|
|
Jared K. Smith |
3cd66a2 |
# tests disabled due to missing npm(tad) test suite
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
Name: nodejs-memoizee
|
|
Jared K. Smith |
3cd66a2 |
Version: 0.3.9
|
|
|
b2d7733 |
Release: 12%{?dist}
|
|
Jared K. Smith |
3cd66a2 |
Summary: Memoize/cache function results
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
License: MIT
|
|
Jared K. Smith |
3cd66a2 |
URL: https://github.com/medikoo/memoize.git
|
|
Jared K. Smith |
3cd66a2 |
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
BuildArch: noarch
|
|
Jared K. Smith |
3cd66a2 |
%if 0%{?fedora} >= 19
|
|
Jared K. Smith |
3cd66a2 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
Jared K. Smith |
3cd66a2 |
%else
|
|
Jared K. Smith |
3cd66a2 |
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
Jared K. Smith |
3cd66a2 |
%endif
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
BuildRequires: nodejs-packaging
|
|
Jared K. Smith |
3cd66a2 |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
3cd66a2 |
BuildRequires: npm(tad)
|
|
Jared K. Smith |
3cd66a2 |
%endif
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%description
|
|
Jared K. Smith |
3cd66a2 |
Memoize/cache function results
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%prep
|
|
Jared K. Smith |
3cd66a2 |
%setup -q -n package
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%nodejs_fixdep es6-weak-map ~2.0.1
|
|
Jared K. Smith |
0018b6f |
# allow newer version of npm(es6-weak-map)
|
|
Jared K. Smith |
0018b6f |
|
|
Jared K. Smith |
0018b6f |
%nodejs_fixdep d "<=2.0.0"
|
|
Jared K. Smith |
0018b6f |
# allow either the 0.1.x or 1.x.x series of npm(d)
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%build
|
|
Jared K. Smith |
3cd66a2 |
# nothing to do!
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%install
|
|
Jared K. Smith |
3cd66a2 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
3cd66a2 |
cp -pr package.json *.js lib/ ext/ normalizers/ \
|
|
Jared K. Smith |
3cd66a2 |
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%nodejs_symlink_deps
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
3cd66a2 |
%check
|
|
Jared K. Smith |
3cd66a2 |
%nodejs_symlink_deps --check
|
|
Jared K. Smith |
3cd66a2 |
%{__nodejs} -e 'require("./")'
|
|
Jared K. Smith |
3cd66a2 |
%{__nodejs} %{nodejs_sitelib}/tad/bin/tad
|
|
Jared K. Smith |
3cd66a2 |
%endif
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%files
|
|
Jared K. Smith |
3cd66a2 |
%{!?_licensedir:%global license %doc}
|
|
Jared K. Smith |
3cd66a2 |
%doc *.md
|
|
Jared K. Smith |
3cd66a2 |
%license LICENSE
|
|
Jared K. Smith |
3cd66a2 |
%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
|
|
Jared K. Smith |
3cd66a2 |
%changelog
|
|
|
b2d7733 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-12
|
|
|
b2d7733 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b2d7733 |
|
|
|
403b38f |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-11
|
|
|
403b38f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
403b38f |
|
|
|
e48479c |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-10
|
|
|
e48479c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e48479c |
|
|
|
e3296a6 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-9
|
|
|
e3296a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e3296a6 |
|
|
|
d88afd8 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-8
|
|
|
d88afd8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d88afd8 |
|
|
|
3300257 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-7
|
|
|
3300257 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3300257 |
|
|
|
8aabca3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-6
|
|
|
8aabca3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8aabca3 |
|
|
|
8efd8c5 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-5
|
|
|
8efd8c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8efd8c5 |
|
|
|
4ed63e5 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4
|
|
|
4ed63e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
4ed63e5 |
|
|
Jared K. Smith |
635a23c |
* Tue Dec 22 2015 Jared Smith <jsmith@fedoraproject.org> - 0.3.9-3
|
|
Jared K. Smith |
635a23c |
- Allow newer version of npm(d)
|
|
Jared K. Smith |
635a23c |
|
|
Jared K. Smith |
3cd66a2 |
* Tue Nov 10 2015 Jared Smith <jsmith@fedoraproject.org> - 0.3.9-2
|
|
Jared K. Smith |
3cd66a2 |
- Initial packaging
|