From a9185c10486639bdbb0c197ca1c89e012db4194a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 18 Jun 2019 08:39:32 -0400 Subject: [PATCH] Update to 6.17.1 security release https://nodejs.org/en/blog/release/v6.17.1/ https://nodejs.org/en/blog/release/v6.17.0/ Drop debug build Signed-off-by: Stephen Gallagher --- .gitignore | 1 + nodejs.spec | 31 ++++++++----------------------- sources | 2 +- 3 files changed, 10 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 34665da..1fc6100 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,4 @@ /node-v6.14.2-stripped.tar.gz /node-v6.14.3-stripped.tar.gz /node-v6.16.0-stripped.tar.gz +/node-v6.17.1-stripped.tar.gz diff --git a/nodejs.spec b/nodejs.spec index 2a894a5..8f2bc62 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -1,16 +1,8 @@ -%global with_debug 1 - # bundle some dependencies missing in Modularity %bcond_with bootstrap %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} -# ARM builds currently break on the Debug builds, so we'll just -# build the standard runtime until that gets sorted out. -%ifarch %{arm} aarch64 %{power64} -%global with_debug 0 -%endif - # == Node.js Version == # Note: Fedora should only ship LTS versions of Node.js (currently expected # to be major versions with even numbers). The odd-numbered versions are new @@ -18,8 +10,8 @@ # than a Fedora release lifecycle. %global nodejs_epoch 1 %global nodejs_major 6 -%global nodejs_minor 16 -%global nodejs_patch 0 +%global nodejs_minor 17 +%global nodejs_patch 1 %global nodejs_abi %{nodejs_major}.%{nodejs_minor} %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} %global nodejs_release 1 @@ -286,12 +278,7 @@ export LDFLAGS="%{__global_ldflags}" --openssl-use-def-ca-store %endif -%if %{?with_debug} == 1 -# Setting BUILDTYPE=Debug builds both release and debug binaries -make BUILDTYPE=Debug %{?_smp_mflags} -%else make BUILDTYPE=Release %{?_smp_mflags} -%endif %install @@ -307,11 +294,6 @@ rm -rf %{buildroot} # Set the binary permissions properly chmod 0755 %{buildroot}/%{_bindir}/node -%if %{?with_debug} == 1 -# Install the debug binary and set its permissions -install -Dpm0755 out/Debug/node %{buildroot}/%{_bindir}/node_g -%endif - # own the sitelib directory mkdir -p %{buildroot}%{_prefix}/lib/node_modules @@ -413,9 +395,6 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node - %files devel -%if %{?with_debug} == 1 -%{_bindir}/node_g -%endif %{_includedir}/node %{_datadir}/node/common.gypi %{_pkgdocdir}/gdbinit @@ -439,6 +418,12 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node - %{_pkgdocdir}/npm/doc %changelog +* Tue Jun 18 2019 Stephen Gallagher - 1:6.17.1-1 +- Update to 6.17.1 security release +- https://nodejs.org/en/blog/release/v6.17.1/ +- https://nodejs.org/en/blog/release/v6.17.0/ +- Drop debug build + * Thu Jan 10 2019 Stephen Gallagher - 1:6.16.0-2 - Bundle http-parser since it uses backported features not available in RHEL diff --git a/sources b/sources index 5d4e0a5..9608953 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (node-v6.16.0-stripped.tar.gz) = f39f01be5149d08823b94f3609804e360c12f6bfacc80000cb59846492ae14dfb9b648c6bccaf5caadbeba27fb529a9a55d5c54a7ab290d87817a8e571c18a47 +SHA512 (node-v6.17.1-stripped.tar.gz) = 0c89917d14872bfdb94cd2ee428f67093fdef16cbaff5bd96d00960c040c23ce95550d3b634172035b28e214caeac7d2808e0b0b152885deb33b5ec55a6a2f7e