diff --git a/openssl-ibmca.spec b/openssl-ibmca.spec index f14a97a..c529862 100644 --- a/openssl-ibmca.spec +++ b/openssl-ibmca.spec @@ -48,7 +48,7 @@ Summary: The IBMCA OpenSSL dynamic engine License: Apache-2.0 Group: Hardware/Other URL: https://github.com/opencryptoki/openssl-ibmca -Source: https://github.com/opencryptoki/opensll-ibmca/archive/v%{version}.tar.gz#/openssl-ibmca-%{version}.tar.gz +Source: https://github.com/opencryptoki/openssl-ibmca/archive/v%{version}.tar.gz#/openssl-ibmca-%{version}.tar.gz Source1: engine_section.txt Source2: _multibuild ### @@ -115,16 +115,16 @@ sed -i -e "/^dynamic_path/s, = .*/, = %{enginesdir}/," src/engine/openssl.cnf.sa %if "%{flavor}" == "" rm -f %{buildroot}/%{enginesdir}/ibmca-provider.* -rm -f %{buildroot}%{_mandir}/man5/ibmca-provider.5.gz %endif %if "%{flavor}" == "openssl3" -rm -f %{buildroot}/%{modulesdir}/ibmca.la -rm -f %{buildroot}/%{modulesdir}/ibmca-provider.la mkdir -p %{buildroot}/%{enginesdir} mv %{buildroot}/%{modulesdir}/ibmca.* %{buildroot}/%{enginesdir}/ %endif +rm -f %{buildroot}/%{enginesdir}/ibmca*.la +rm -f %{buildroot}/%{modulesdir}/ibmca*.la + # This file contains the declaration of the ibmca engine section. It # needs to be on the "real" file system when the postinstall scriptlet # is run. It will be read by the openssl .include directive that points