- try to ensure the temporary symlinks exist

This commit is contained in:
Tomáš Mráz 2009-01-16 13:02:42 +00:00
parent 1d20b5f238
commit b33a50c5b2

View File

@ -23,7 +23,7 @@
Summary: A general purpose cryptography library with TLS implementation Summary: A general purpose cryptography library with TLS implementation
Name: openssl Name: openssl
Version: 0.9.8j Version: 0.9.8j
Release: 1%{?dist} Release: 2%{?dist}
# We remove certain patented algorithms from the openssl source tarball # We remove certain patented algorithms from the openssl source tarball
# with the hobble-openssl script which is included below. # with the hobble-openssl script which is included below.
Source: openssl-%{version}-usa.tar.bz2 Source: openssl-%{version}-usa.tar.bz2
@ -400,12 +400,21 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/fipscanister.*
%endif %endif
%post %post
if [ ! -h /%{_lib}/libcrypto.so.7 ] ; then
ln -s libcrypto.so.%{version} /%{_lib}/libcrypto.so.7 || :
fi
if [ ! -h /%{_lib}/libssl.so.7 ] ; then
ln -s libssl.so.%{version} /%{_lib}/libssl.so.7 || :
fi
/sbin/ldconfig -X /sbin/ldconfig -X
%postun %postun
/sbin/ldconfig -X /sbin/ldconfig -X
%changelog %changelog
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> 0.9.8j-2
- try to ensure the temporary symlinks exist
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 0.9.8j-1 * Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 0.9.8j-1
- new upstream version with necessary soname bump (#455753) - new upstream version with necessary soname bump (#455753)
- temporarily provide symlink to old soname to make it possible to rebuild - temporarily provide symlink to old soname to make it possible to rebuild