From 7e0fce6fea4816c8bb1081a21c33d2aa8f1d4e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mr=C3=A1z?= Date: Sat, 17 Jan 2009 20:48:44 +0000 Subject: [PATCH] - add temporary triggerpostun to reinstate the symlinks --- openssl.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/openssl.spec b/openssl.spec index a95e063..305c133 100644 --- a/openssl.spec +++ b/openssl.spec @@ -413,7 +413,20 @@ fi %postun /sbin/ldconfig -X +%triggerpostun -- openssl < 0.9.8j +[ $1 != 0 ] || exit 0 +if [ "$(readlink /%{_lib}/libcrypto.so.7)" != libcrypto.so.%{version} ] ; then + ln -sf libcrypto.so.%{version} /%{_lib}/libcrypto.so.7 || : +fi +if [ "$(readlink /%{_lib}/libssl.so.7)" != libssl.so.%{version} ] ; then + ln -sf libssl.so.%{version} /%{_lib}/libssl.so.7 || : +fi +/sbin/ldconfig -X + %changelog +* Sat Jan 16 2009 Tomas Mraz 0.9.8j-5 +- add temporary triggerpostun to reinstate the symlinks + * Sat Jan 16 2009 Tomas Mraz 0.9.8j-4 - no pairwise key tests in non-fips mode (#479817)