Replace dependency on openssl-pkcs11 by pkcs11-provider

Resolves: RHEL-30556

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Alexander Bokovoy 2024-11-13 11:20:15 +02:00
parent b822baa9d4
commit e0a388d4b7

View File

@ -4,15 +4,22 @@
%define bind_version 32:9.16.16 %define bind_version 32:9.16.16
%if 0%{?fedora} >= 31 || 0%{?rhel} > 8 %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_version 0.4.10-6
%global openssl_pkcs11_name openssl-pkcs11
%global softhsm_version 2.5.0-4 %global softhsm_version 2.5.0-4
%endif
%else %else
%global with_bind_pkcs11 1 %global with_bind_pkcs11 1
%endif %endif
Name: bind-dyndb-ldap Name: bind-dyndb-ldap
Version: 11.10 Version: 11.10
Release: 27%{?dist} Release: 28%{?dist}
Summary: LDAP back-end plug-in for BIND Summary: LDAP back-end plug-in for BIND
License: GPLv2+ License: GPLv2+
@ -50,7 +57,7 @@ Requires: bind-pkcs11 >= %{bind_version}
Requires: bind-pkcs11-utils >= %{bind_version} Requires: bind-pkcs11-utils >= %{bind_version}
%else %else
Requires: softhsm >= %{softhsm_version} Requires: softhsm >= %{softhsm_version}
Requires: openssl-pkcs11 >= %{openssl_pkcs11_version} Requires: %{openssl_pkcs11_name} >= %{openssl_pkcs11_version}
Requires(pre): bind >= %{bind_version} Requires(pre): bind >= %{bind_version}
Requires: bind >= %{bind_version} Requires: bind >= %{bind_version}
%endif %endif
@ -130,6 +137,10 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf
%changelog %changelog
* Wed Nov 13 2024 Alexander Bokovoy <abokovoy@redhat.com> - 11.10-28
- Replace dependency on openssl-pkcs11 by pkcs11-provider
- Resolves: RHEL-30556
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 11.10-27 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 11.10-27
- Bump release for October 2024 mass rebuild: - Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018 Resolves: RHEL-64018