From e0a388d4b7a47091a08fabd0bdc8da66107d3916 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 13 Nov 2024 11:20:15 +0200 Subject: [PATCH] Replace dependency on openssl-pkcs11 by pkcs11-provider Resolves: RHEL-30556 Signed-off-by: Alexander Bokovoy --- bind-dyndb-ldap.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec index 6bebc5e..fab8914 100644 --- a/bind-dyndb-ldap.spec +++ b/bind-dyndb-ldap.spec @@ -4,15 +4,22 @@ %define bind_version 32:9.16.16 %if 0%{?fedora} >= 31 || 0%{?rhel} > 8 +%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 + %global openssl_pkcs11_version 0.3 + %global openssl_pkcs11_name pkcs11-provider + %global softhsm_version 2.6.1 +%else %global openssl_pkcs11_version 0.4.10-6 + %global openssl_pkcs11_name openssl-pkcs11 %global softhsm_version 2.5.0-4 +%endif %else %global with_bind_pkcs11 1 %endif Name: bind-dyndb-ldap Version: 11.10 -Release: 27%{?dist} +Release: 28%{?dist} Summary: LDAP back-end plug-in for BIND License: GPLv2+ @@ -50,7 +57,7 @@ Requires: bind-pkcs11 >= %{bind_version} Requires: bind-pkcs11-utils >= %{bind_version} %else Requires: softhsm >= %{softhsm_version} -Requires: openssl-pkcs11 >= %{openssl_pkcs11_version} +Requires: %{openssl_pkcs11_name} >= %{openssl_pkcs11_version} Requires(pre): bind >= %{bind_version} Requires: bind >= %{bind_version} %endif @@ -130,6 +137,10 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf %changelog +* Wed Nov 13 2024 Alexander Bokovoy - 11.10-28 +- Replace dependency on openssl-pkcs11 by pkcs11-provider +- Resolves: RHEL-30556 + * Tue Oct 29 2024 Troy Dawson - 11.10-27 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018