From a2ee1ccfdd1287eed5fb82dedaf276c527e609bd Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 5 Nov 2021 14:56:57 -0400 Subject: [PATCH] Update to 16.13.0 https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.0 Add support for epel8 Signed-off-by: Stephen Gallagher --- nodejs.spec | 14 ++++++++++++-- sources | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/nodejs.spec b/nodejs.spec index f5afc1e..8bc84ec 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -19,7 +19,7 @@ # than a Fedora release lifecycle. %global nodejs_epoch 1 %global nodejs_major 16 -%global nodejs_minor 12 +%global nodejs_minor 13 %global nodejs_patch 0 %global nodejs_abi %{nodejs_major}.%{nodejs_minor} # nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h @@ -169,8 +169,13 @@ Provides: bundled(nghttp2) = %{nghttp2_version} %else BuildRequires: libuv-devel >= 1:%{libuv_version} Requires: libuv >= 1:%{libuv_version} +%if 0%{?fedora} || 0%{?rhel} >= 9 BuildRequires: libnghttp2-devel >= %{nghttp2_version} Requires: libnghttp2 >= %{nghttp2_version} +%define nghttp2_configure --shared-nghttp2 +%else +%define nghttp2_configure %{nil} +%endif %endif # Temporarily bundle llhttp because the upstream doesn't @@ -416,7 +421,7 @@ export LDFLAGS="%{build_ldflags}" --shared-zlib \ --shared-brotli \ --shared-libuv \ - --shared-nghttp2 \ + %{nghttp2_configure} \ --with-dtrace \ --with-intl=small-icu \ --with-icu-default-data-dir=%{icudatadir} \ @@ -673,6 +678,11 @@ end %changelog +* Mon Oct 25 2021 Stephen Gallagher - 1:16.13.0-1 +- Update to 16.13.0 +- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.0 +- Add support for epel8 + * Mon Oct 25 2021 Stephen Gallagher - 1:16.12.0-1 - Update to 16.12.0 - https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.12.0 diff --git a/sources b/sources index a3b70f5..93d90d0 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (node-v16.12.0-stripped.tar.gz) = 4ac9e17e50a900711db39712f38b6e384902ea32c6bce2652ebec493a431bb0b73d20637a39a89ad1c68a494e573a3ec5aa37880f21e5770c0b8a9844ea1b6a8 +SHA512 (node-v16.13.0-stripped.tar.gz) = 93aa7e15660da39a5db4b5019b56160f773bc726a704e1fe674f27e16d52fcae855cc7f50d8c119dd12b2181ef7b9d22d9650cae42f30d7e4c0f568b57645e2f SHA512 (icu4c-69_1-src.tgz) = d4aeb781715144ea6e3c6b98df5bbe0490bfa3175221a1d667f3e6851b7bd4a638fa4a37d4a921ccb31f02b5d15a6dded9464d98051964a86f7b1cde0ff0aab7