summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unit.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/unit.spec b/unit.spec
index e5b2f4e..ee4faf4 100644
--- a/unit.spec
+++ b/unit.spec
@@ -19,7 +19,7 @@
Name: unit
Summary: NGINX Unit application server
Version: 1.31.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: Apache-2.0
URL: https://unit.nginx.org/
@@ -33,6 +33,9 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: openssl-devel
BuildRequires: pcre2-devel
+# command tool only to pull library dependencies
+BuildRequires: njs
+BuildRequires: libnjs-devel
BuildRequires: systemd
%if %{with wasm}
BuildRequires: clang
@@ -48,6 +51,7 @@ Requires(pre): /usr/sbin/useradd
Requires: logrotate
Provides: nginx-unit = %{version}-%{release}
+Provides: unit-r%{version}
%description
@@ -93,6 +97,7 @@ unitconf() {
--openssl \
--cc-opt="%{optflags}" \
--tests \
+ --njs \
$*
}
@@ -215,6 +220,9 @@ BANNER
%changelog
+* Wed Dec 20 2023 Remi Collet <remi@remirepo.net> - 1.31.1-3
+- enable NGINX JavaScript (njs) configuration extension
+
* Mon Nov 6 2023 Remi Collet <remi@remirepo.net> - 1.31.1-2
- weak dependencies on systemd