diff options
| -rw-r--r-- | njs.spec | 21 | 
1 files changed, 11 insertions, 10 deletions
@@ -16,27 +16,28 @@  # to enable WASM, require ONLINE build for sources download  %bcond_with         wasm +# See https://github.com/nginx/njs/tags  %global gh_owner    nginx  %global project     njs -%global gh_commit   9d3e71ca656b920e3e63b0e647aca8e91669d29a +%global gh_commit   fcb99b68f86a72c96e21b81b3b78251174dbd3bf  %global gh_short    %(c=%{gh_commit}; echo ${c:0:7}) +# See https://github.com/bellard/quickjs/commits/master/  %global qjs_owner    bellard  %global qjs_project  quickjs -%global qjs_commit   9d3776d0d45ca437ddb7f9079ae0367102abc90f +%global qjs_commit   19abf1888db5884a5758036ff6e7fa2b340acedc  %global qjs_short    %(c=%{qjs_commit}; echo ${c:0:7}) +%global qjs_version  2025.04.26  Name:              %{project}  Summary:           NGINX JavaScript -Version:           0.8.10 +Version:           0.9.0  Release:           1%{?dist}  License:           BSD-2-Clause AND MIT  URL:               https://github.com/%{gh_owner}/%{project} -# See https://github.com/nginx/njs/tags  Source0:           https://github.com/%{gh_owner}/%{project}/archive/%{gh_commit}/%{project}-%{version}-%{gh_short}.tar.gz -# See https://github.com/bellard/quickjs/commits/master/  Source1:           https://github.com/%{qjs_owner}/%{qjs_project}/archive/%{qjs_commit}/%{qjs_project}-%{qjs_short}.tar.gz  BuildRequires:     make @@ -51,7 +52,7 @@ BuildRequires:     libedit-devel  BuildRequires:     expect  %if %{with quickjs} -Provides:          bundled(libquickjs) +Provides:          bundled(libquickjs) = %{qjs_version}  %endif @@ -93,10 +94,6 @@ pushd quickjs  CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %make_build libquickjs.a  popd -%if 0%{?fedora} >= 42 -export CFLAGS="%{optflags} -Wno-error=unterminated-string-initialization" -%endif -  ./configure \    --with-quickjs \    --cc-opt="$RPM_OPT_FLAGS -Iquickjs" \ @@ -163,6 +160,10 @@ make test %{?_smp_mflags}  %changelog +* Tue May  6 2025 Remi Collet <remi@remirepo.net> - 0.9.0-1 +- update to 0.9.0 +- update bundled quickjs to 2025-04-26 release +  * Tue Apr  8 2025 Remi Collet <remi@remirepo.net> - 0.8.10-1  - update to 0.8.10  | 
