summaryrefslogtreecommitdiffstats
path: root/njs.spec
diff options
context:
space:
mode:
Diffstat (limited to 'njs.spec')
-rw-r--r--njs.spec40
1 files changed, 31 insertions, 9 deletions
diff --git a/njs.spec b/njs.spec
index f6eee2c..28e9aae 100644
--- a/njs.spec
+++ b/njs.spec
@@ -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 b87ad67adb2c557bd96e52a3221748a7ba028858
+%global gh_commit 927d38d8438e8b3b3db63af4d9f6324210fd5dab
%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 6e2e68fd0896957f92eb6c242a2e048c1ef3cae0
+%global qjs_commit eb2c89087def1829ed99630cb14b549d7a98408c
%global qjs_short %(c=%{qjs_commit}; echo ${c:0:7})
+%global qjs_version 2025.10.18
Name: %{project}
Summary: NGINX JavaScript
-Version: 0.8.9
-Release: 2%{?dist}
+Version: 0.9.4
+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,8 +94,6 @@ pushd quickjs
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %make_build libquickjs.a
popd
-export CFLAGS="%{optflags} -Wno-error=unterminated-string-initialization"
-
./configure \
--with-quickjs \
--cc-opt="$RPM_OPT_FLAGS -Iquickjs" \
@@ -161,6 +160,29 @@ make test %{?_smp_mflags}
%changelog
+* Wed Oct 29 2025 Remi Collet <remi@remirepo.net> - 0.9.4-1
+- update to 0.9.4
+- update bundled quickjs to 2025.10.18
+
+* Wed Oct 8 2025 Remi Collet <remi@remirepo.net> - 0.9.3-1
+- update to 0.9.3
+- update bundled quickjs to 2025.10.04
+
+* Wed Sep 24 2025 Remi Collet <remi@remirepo.net> - 0.9.2-1
+- update to 0.9.2
+- update bundled quickjs to 2025-09-22
+
+* Fri Jul 11 2025 Remi Collet <remi@remirepo.net> - 0.9.1-1
+- update to 0.9.1
+- update bundled quickjs to 2025-07-09
+
+* 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
+
+* Tue Apr 8 2025 Remi Collet <remi@remirepo.net> - 0.8.10-1
+- update to 0.8.10
+
* Fri Feb 14 2025 Remi Collet <remi@remirepo.net> - 0.8.9-2
- workaround build failure with GCC 15 reported as
https://github.com/nginx/njs/issues/857