From 6fba2c3dadc71f0882fb9a08498b7f2d4559fa71 Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Wed, 14 Feb 2024 14:59:38 +0000 Subject: [PATCH] Add missing bundled libraries to the spec template --- packaging/nodejs.spec.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index aad8703..2bfe6dc 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -79,6 +79,12 @@ # nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h %global nghttp2_version {{ NGHTTP2_VERSION }} +# nghttp3 - from deps/ngtcp2/nghttp3/lib/includes/nghttp3/version.h +%global nghttp3_version {{NGHTTP3_VERSION}} + +# ngtcp2 from deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/version.h +%global ngtcp2_version {{NGTCP2_VERSION}} + # ICU - from tools/icu/current_ver.dep %global icu_major {{ ICU_MAJOR }} %global icu_minor {{ ICU_MINOR }} @@ -88,6 +94,8 @@ %{!?little_endian: %global little_endian %(%{python3} -c "import sys;print (0 if sys.byteorder=='big' else 1)")} # " this line just fixes syntax highlighting for vim that is confused by the above and continues literal +# simdutf from deps/simdutf/simdutf.h +%global simdutf_version {{SIMDUTF_VERSION}} # OpenSSL minimum version %global openssl11_minimum 1:1.1.1 @@ -218,6 +226,8 @@ Requires: libuv >= 1:%{libuv_version} # Node.js frequently bumps this faster than Fedora can follow, # so we will bundle it. Provides: bundled(nghttp2) = %{nghttp2_version} +Provides: bundled(nghttp3) = %{nghttp3_version} +Provides: bundled(ngtcp2) = %{ngtcp2_version} # Temporarily bundle llhttp because the upstream doesn't # provide releases for it. @@ -313,6 +323,7 @@ Provides: bundled(icu) = %{icu_version} # or there's no option to built it as a shared dependency, so we bundle them Provides: bundled(uvwasi) = %{uvwasi_version} Provides: bundled(histogram) = %{histogram_version} +Provides: bundled(simdutf) = %{simdutf_version} {% if ADA_VERSION -%} # Upstream has added a new URL parser that has no option to build as a shared