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