From 9f38c534dbfdd682607cb60134835964eed8ca3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Thu, 23 Sep 2021 11:52:36 +0200 Subject: [PATCH] Conditionalize BR: openssl >= 3.0.0 to supported distributions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Esser --- pam.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pam.spec b/pam.spec index e605e01..b8d8d20 100644 --- a/pam.spec +++ b/pam.spec @@ -66,7 +66,9 @@ BuildRequires: libtirpc-devel BuildRequires: libtool BuildRequires: libxcrypt-devel >= 4.3.3-2 BuildRequires: make +%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9 BuildRequires: openssl-devel >= 3.0.0 +%endif BuildRequires: perl-interpreter BuildRequires: pkgconfig BuildRequires: sed @@ -402,10 +404,12 @@ exit 0 * Thu Sep 23 2021 Björn Esser - 1.5.2-5 - Rebase to pam-redhat-1.1.5 - Drop explicit dependency on openssl, as auto-deps will pull it in +- Conditionalize BR: openssl >= 3.0.0 to supported distributions * Thu Sep 23 2021 Iker Pedrosa - 1.5.2-4 - Remove the /etc/motd.d directory to exclude its ownership from pam (#1968131) -- pam_timestamp: enable openssl hmac authentication (#1947294) +- pam_timestamp: enable openssl hmac authentication on supported + distributions (Fedora >= 36 and RHEL >= 9) (#1947294) - Clean spec file: organize dependencies and move URL location * Thu Sep 23 2021 Björn Esser - 1.5.2-3