|
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
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
8efd8c5 |
Release: 5%{?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
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
8efd8c5 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-5
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
8efd8c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
8efd8c5 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
4ed63e5 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
4ed63e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
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
|