summaryrefslogtreecommitdiffstats
path: root/unit.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-12-20 09:44:27 +0100
committerRemi Collet <remi@php.net>2023-12-20 09:44:27 +0100
commit97e9bf875bbcc5bf178c95bc308cf2e7f966da83 (patch)
treec25bc9b38bf6ddff0455dbd972825b7d08aec8f4 /unit.spec
parentbcbc4b9e504eaf36078cefda483d513a33cfb125 (diff)
enable NGINX JavaScript (njs) configuration extension
Diffstat (limited to 'unit.spec')
-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