- use ldconfig to build the soname symlink for packaging along with the

shared library (#334731))
This commit is contained in:
Nalin Dahyabhai 2007-10-16 17:05:10 +00:00
parent 4b681a494d
commit 9f9b613bc0

View File

@ -1,6 +1,6 @@
Name: libgcrypt Name: libgcrypt
Version: 1.2.4 Version: 1.2.4
Release: 5 Release: 6
Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2 Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
Source2: wk@g10code.com Source2: wk@g10code.com
@ -72,6 +72,8 @@ for shlib in $relroot/%{_lib}/lib*.so.* ; do
ln -sf $shlib $target ln -sf $shlib $target
done done
popd popd
# Add soname symlink.
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/
rm -f $RPM_BUILD_ROOT/root_marker rm -f $RPM_BUILD_ROOT/root_marker
%clean %clean
@ -107,6 +109,10 @@ exit 0
%{_infodir}/gcrypt.info* %{_infodir}/gcrypt.info*
%changelog %changelog
* Tue Oct 16 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-6
- use ldconfig to build the soname symlink for packaging along with the
shared library (#334731)
* Wed Aug 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-5 * Wed Aug 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-5
- add missing gawk buildrequirement - add missing gawk buildrequirement
- switch from explicitly specifying the /dev/random RNG to just verifying - switch from explicitly specifying the /dev/random RNG to just verifying