From 97e9bf875bbcc5bf178c95bc308cf2e7f966da83 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Dec 2023 09:44:27 +0100 Subject: enable NGINX JavaScript (njs) configuration extension --- unit.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 - 1.31.1-3 +- enable NGINX JavaScript (njs) configuration extension + * Mon Nov 6 2023 Remi Collet - 1.31.1-2 - weak dependencies on systemd -- cgit