summaryrefslogtreecommitdiffstats
path: root/unit.spec
diff options
context:
space:
mode:
Diffstat (limited to 'unit.spec')
-rw-r--r--unit.spec13
1 files changed, 9 insertions, 4 deletions
diff --git a/unit.spec b/unit.spec
index 120a570..ec529e2 100644
--- a/unit.spec
+++ b/unit.spec
@@ -17,7 +17,7 @@
Name: unit
Summary: NGINX Unit application server
Version: 1.26.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: ASL 2.0
URL: https://unit.nginx.org/
@@ -30,6 +30,9 @@ Source4: unit.logrotate
# Use system crypto policy
# https://github.com/nginx/unit/pull/215
Patch0: %{project}-syspol.patch
+# Workaround for OpenSSL 3.0
+# https://github.com/nginx/unit/pull/598
+Patch1: %{project}-openssl3.patch
BuildRequires: make
BuildRequires: gcc
@@ -64,12 +67,10 @@ Library and include files required for NGINX Unit modules development.
%prep
%setup -qn %{project}-%{gh_commit}
%patch0 -p1 -b .syspol
+%patch1 -p1 -b .openssl3
cp pkg/rpm/rpmbuild/SOURCES/unit.example.config example.config
-# For OpenSSL 3.0 deprecations
-sed -e 's/-Werror//' -i ./auto/types ./auto/cc/test
-
%build
# see https://github.com/nginx/unit/issues/467
@@ -190,6 +191,10 @@ BANNER
%changelog
+* Thu Nov 18 2021 Remi Collet <remi@remirepo.net> - 1.26.0-2
+- add better workaround for OpenSSL 3.0 from
+ https://github.com/nginx/unit/pull/598
+
* Thu Nov 18 2021 Remi Collet <remi@remirepo.net> - 1.26.0-1
- update to 1.26.0