diff options
author | Remi Collet <remi@remirepo.net> | 2021-11-18 17:58:56 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2021-11-18 17:58:56 +0100 |
commit | cb327d4a0098b9e8d446451c60ad82ac43676b44 (patch) | |
tree | 9442b35121bbbcb225bc6e2a5accaf58b021ccff /unit.spec | |
parent | a9f96552032a89c02e77e4a463b3fed1a73ae4b7 (diff) |
add better workaround for OpenSSL 3.0 from
https://github.com/nginx/unit/pull/598
Diffstat (limited to 'unit.spec')
-rw-r--r-- | unit.spec | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 |