From 7428d76bde5e5b3088382eb8cc0357512d48b1e6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 2 May 2018 00:47:38 +0100 Subject: [PATCH] Rewrite nodejs.req to better match npm versioning rules --- .gitignore | 1 + nodejs-packaging.spec | 10 +++++++++- sources | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3288be1..072f470 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/nodejs-packaging.spec b/nodejs-packaging.spec index 9442dd7..d24cdc3 100644 --- a/nodejs-packaging.spec +++ b/nodejs-packaging.spec @@ -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 - 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 - 15-1 - Fix caret dependency ranges diff --git a/sources b/sources index c780eb3..78cde86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nodejs-packaging-fedora-15.tar.xz) = c8d7876b75fdb44d3d2152f4e1a7116a8bd1f3633b12a70015b201efdc99daec8f122f173278a21b6f851e932879dda6c3a1b9c03a2a810f102ae5d0e0b58e78 +SHA512 (nodejs-packaging-fedora-16.tar.xz) = 2805db488fc5eb9353d7a7812577c0f12bae370d01c2a6aa18f2c65dce1f4b9f82b0be0189df781f758cf5094f9ed4ed77ed49e989500421e1c053758be0fdaa