From 1f15ed794312601956c1ea13aa99f1f494154be8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 28 Feb 2018 11:29:43 +0000 Subject: [PATCH] Add %nodejs_setversion macro --- .gitignore | 1 + nodejs-packaging.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a94c4d0..2c1f545 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /nodejs-packaging-fedora-10.tar.xz /nodejs-packaging-fedora-11.tar.xz /nodejs-packaging-fedora-12.tar.xz +/nodejs-packaging-fedora-13.tar.xz diff --git a/nodejs-packaging.spec b/nodejs-packaging.spec index b8b87e7..5bf678c 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: 12 +Version: 13 Release: 1%{?dist} Summary: RPM Macros and Utilities for Node.js Packaging BuildArch: noarch @@ -34,6 +34,7 @@ install -pm0755 nodejs.prov %{buildroot}%{_rpmconfigdir}/nodejs.prov install -pm0755 nodejs.req %{buildroot}%{_rpmconfigdir}/nodejs.req install -pm0755 nodejs-symlink-deps %{buildroot}%{_rpmconfigdir}/nodejs-symlink-deps install -pm0755 nodejs-fixdep %{buildroot}%{_rpmconfigdir}/nodejs-fixdep +install -pm0755 nodejs-setversion %{buildroot}%{_rpmconfigdir}/nodejs-setversion install -Dpm0644 multiver_modules %{buildroot}%{_datadir}/node/multiver_modules @@ -46,6 +47,9 @@ install -Dpm0644 multiver_modules %{buildroot}%{_datadir}/node/multiver_modules %changelog +* Wed Feb 28 2018 Tom Hughes - 13-1 +- Add %%nodejs_setversion macro + * Fri Feb 23 2018 Tom Hughes - 12-1 - Port to python 3 diff --git a/sources b/sources index b3259c2..45bc897 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nodejs-packaging-fedora-12.tar.xz) = c333137e50ea463dffcfa172efbe4dd152b27eb8b807a356a7af25ba9afae8be99f934cb2cd250ad29491af3c6d88309ed1ae1e7282b5c4b22be2c1dba09bcaa +SHA512 (nodejs-packaging-fedora-13.tar.xz) = 0d20be3e8d7c30f545d60c1e8d59372e244ed75c2de93cf80ae095bda3b0ab2a0c2651c7eb51e2f1a71571801a572e4aa00c282f1729c47e56ca8fb1222cfd8c