Re-enable PKCS11 support in RHEL

The PKCS11 support was dropped for RHEL because of the missing pkcs11-helper
dependency. This dependency is no more needed since the 3.6.2 release. Let's
enable the PKCS11 support again.

Resolves: RHEL-31753
This commit is contained in:
Ondrej Holy 2024-07-04 13:42:48 +02:00
parent a720605d51
commit 62de033e86

View File

@ -21,7 +21,6 @@
# Disable unwanted dependencies for RHEL # Disable unwanted dependencies for RHEL
%{!?rhel:%global _with_aad 1} %{!?rhel:%global _with_aad 1}
%{!?rhel:%global _with_pkcs11 1}
%{!?rhel:%global _with_sdl_client 1} %{!?rhel:%global _with_sdl_client 1}
%{!?rhel:%global _with_soxr 1} %{!?rhel:%global _with_soxr 1}
%{!?rhel:%global _with_uriparser 1} %{!?rhel:%global _with_uriparser 1}
@ -206,7 +205,7 @@ find . -name "*.c" -exec chmod 664 {} \;
-DWITH_OPENSSL=ON \ -DWITH_OPENSSL=ON \
-DWITH_OPUS=ON \ -DWITH_OPUS=ON \
-DWITH_PCSC=ON \ -DWITH_PCSC=ON \
-DWITH_PKCS11=%{?_with_pkcs11:ON}%{?!_with_pkcs11:OFF} \ -DWITH_PKCS11=ON \
-DWITH_PULSE=ON \ -DWITH_PULSE=ON \
-DWITH_SAMPLE=OFF \ -DWITH_SAMPLE=OFF \
-DWITH_SERVER=%{?_with_server:ON}%{?!_with_server:OFF} \ -DWITH_SERVER=%{?_with_server:ON}%{?!_with_server:OFF} \