Rewrite nodejs.req to better match npm versioning rules

This commit is contained in:
Tom Hughes 2018-05-02 00:47:38 +01:00
parent 9ab0cce29a
commit 7428d76bde
3 changed files with 11 additions and 2 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/nodejs-packaging-fedora-13.tar.xz
/nodejs-packaging-fedora-14.tar.xz
/nodejs-packaging-fedora-15.tar.xz
/nodejs-packaging-fedora-16.tar.xz

View File

@ -1,7 +1,7 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: nodejs-packaging
Version: 15
Version: 16
Release: 1%{?dist}
Summary: RPM Macros and Utilities for Node.js Packaging
BuildArch: noarch
@ -38,6 +38,10 @@ install -pm0755 nodejs-setversion %{buildroot}%{_rpmconfigdir}/nodejs-setversion
install -Dpm0644 multiver_modules %{buildroot}%{_datadir}/node/multiver_modules
%check
./test/run
%files
%license LICENSE
%{macrosdir}/macros.nodejs
@ -47,6 +51,10 @@ install -Dpm0644 multiver_modules %{buildroot}%{_datadir}/node/multiver_modules
%changelog
* Tue May 1 2018 Tom Hughes <tom@compton.nu> - 16-1
- Rewrite nodejs.req to better match npm versioning rules
- Add tests for nodejs.req and nodejs.prov
* Mon Apr 30 2018 Tom Hughes <tom@compton.nu> - 15-1
- Fix caret dependency ranges

View File

@ -1 +1 @@
SHA512 (nodejs-packaging-fedora-15.tar.xz) = c8d7876b75fdb44d3d2152f4e1a7116a8bd1f3633b12a70015b201efdc99daec8f122f173278a21b6f851e932879dda6c3a1b9c03a2a810f102ae5d0e0b58e78
SHA512 (nodejs-packaging-fedora-16.tar.xz) = 2805db488fc5eb9353d7a7812577c0f12bae370d01c2a6aa18f2c65dce1f4b9f82b0be0189df781f758cf5094f9ed4ed77ed49e989500421e1c053758be0fdaa