diff --git a/openssl-ibmca.changes b/openssl-ibmca.changes index 1ec13a8..744c755 100644 --- a/openssl-ibmca.changes +++ b/openssl-ibmca.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jul 15 08:18:35 UTC 2024 - Nikolay Gueorguiev + +- Amended the .spec file (bsc#1227537) + * 'rpm.install.excludedocs = yes' in zypp.conf excludes the /usr/share/doc/.. + * Added a check, if there is is /usr/share/doc file to be editted. + ------------------------------------------------------------------- Wed Apr 17 14:04:14 UTC 2024 - Nikolay Gueorguiev diff --git a/openssl-ibmca.spec b/openssl-ibmca.spec index e72354d..0208754 100644 --- a/openssl-ibmca.spec +++ b/openssl-ibmca.spec @@ -162,9 +162,11 @@ cp -p %{_datadir}/%{name}/openssl-ibmca.sectiondef.txt %{sslengcnf}/openssl-ibmc cp -p %{_datadir}/%{name}/openssl-ibmca.enginedef.cnf %{sslengdef}/openssl-ibmca.cnf %if "%{flavor}" == "" +if [ -f "/usr/share/doc/packages/openssl-ibmca/ibmca-engine-opensslconfig" ]; then cp -p /usr/share/doc/packages/openssl-ibmca/ibmca-engine-opensslconfig /usr/share/doc/packages/openssl-ibmca/ibmca-engine-opensslconfig.orig sed -e 's/ossl-modules/engines-3/' /usr/share/doc/packages/openssl-ibmca/ibmca-engine-opensslconfig.orig > /usr/share/doc/packages/openssl-ibmca/ibmca-engine-opensslconfig rm /usr/share/doc/packages/openssl-ibmca/ibmca-engine-opensslconfig.orig +fi %endif %postun