summaryrefslogtreecommitdiffstats
path: root/njs.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-01-13 08:17:01 +0100
committerRemi Collet <remi@php.net>2026-01-13 08:17:01 +0100
commit9eed8aa7b3748c5f806e3d350ce0e5af6cf7fb32 (patch)
tree187c1319529df0bc4707508d522b066a528d6341 /njs.spec
parenta1f4dae20b3985eba2950e76ce7746efdcde41de (diff)
update to 0.9.5
update bundled quickjs to 2025.12.22 open https://github.com/nginx/njs/issues/1011 fail test with libpcre2 version 10.47
Diffstat (limited to 'njs.spec')
-rw-r--r--njs.spec22
1 files changed, 18 insertions, 4 deletions
diff --git a/njs.spec b/njs.spec
index 28e9aae..8e21369 100644
--- a/njs.spec
+++ b/njs.spec
@@ -19,20 +19,20 @@
# See https://github.com/nginx/njs/tags
%global gh_owner nginx
%global project njs
-%global gh_commit 927d38d8438e8b3b3db63af4d9f6324210fd5dab
+%global gh_commit b9ac319d8bfa696e3943bebbe494e8e723952bdf
%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 eb2c89087def1829ed99630cb14b549d7a98408c
+%global qjs_commit f1139494d18a2053630c5ed3384a42bb70db3c53
%global qjs_short %(c=%{qjs_commit}; echo ${c:0:7})
-%global qjs_version 2025.10.18
+%global qjs_version 2025.12.22
Name: %{project}
Summary: NGINX JavaScript
-Version: 0.9.4
+Version: 0.9.5
Release: 1%{?dist}
License: BSD-2-Clause AND MIT
URL: https://github.com/%{gh_owner}/%{project}
@@ -40,6 +40,10 @@ URL: https://github.com/%{gh_owner}/%{project}
Source0: https://github.com/%{gh_owner}/%{project}/archive/%{gh_commit}/%{project}-%{version}-%{gh_short}.tar.gz
Source1: https://github.com/%{qjs_owner}/%{qjs_project}/archive/%{qjs_commit}/%{qjs_project}-%{qjs_short}.tar.gz
+# ignore 1 failed test related to pcre2 version
+# https://github.com/nginx/njs/issues/1011
+Patch0: tests.patch
+
BuildRequires: make
BuildRequires: gcc
BuildRequires: openssl-devel
@@ -87,6 +91,10 @@ mv %{qjs_project}-%{qjs_commit} quickjs
%setup -qn %{project}-%{gh_commit}
%endif
+if pkg-config libpcre2-8 --atleast-version 10.47; then
+%patch -P0 -p0
+fi
+
%build
%if %{with quickjs}
@@ -160,6 +168,12 @@ make test %{?_smp_mflags}
%changelog
+* Tue Jan 13 2026 Remi Collet <remi@remirepo.net> - 0.9.5-1
+- update to 0.9.5
+- update bundled quickjs to 2025.12.22
+- open https://github.com/nginx/njs/issues/1011
+ fail test with libpcre2 version 10.47
+
* 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