From 9f9b613bc098fe9c9acf1a5c2e4f7c33a7b0ed66 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 16 Oct 2007 17:05:10 +0000 Subject: [PATCH] - use ldconfig to build the soname symlink for packaging along with the shared library (#334731)) --- libgcrypt.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libgcrypt.spec b/libgcrypt.spec index 5c5b8ad..a853eb7 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -1,6 +1,6 @@ Name: libgcrypt Version: 1.2.4 -Release: 5 +Release: 6 Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig Source2: wk@g10code.com @@ -72,6 +72,8 @@ for shlib in $relroot/%{_lib}/lib*.so.* ; do ln -sf $shlib $target done popd +# Add soname symlink. +/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/ rm -f $RPM_BUILD_ROOT/root_marker %clean @@ -107,6 +109,10 @@ exit 0 %{_infodir}/gcrypt.info* %changelog +* Tue Oct 16 2007 Nalin Dahyabhai - 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 - 1.2.4-5 - add missing gawk buildrequirement - switch from explicitly specifying the /dev/random RNG to just verifying