From 73dc307d8ea17c21aec749d6b405d15bdc0c836c Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 15 Oct 2007 17:54:58 +0000 Subject: [PATCH] - use ldconfig to make the soname symlink so that it gets packaged (#331241) --- libgpg-error.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libgpg-error.spec b/libgpg-error.spec index d62ed1d..976a6be 100644 --- a/libgpg-error.spec +++ b/libgpg-error.spec @@ -1,7 +1,7 @@ Summary: libgpg-error Name: libgpg-error Version: 1.5 -Release: 5 +Release: 6 URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/ Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig @@ -69,6 +69,8 @@ for shlib in $relroot/%{_lib}/lib*.so.* ; do ln -sf $shlib $target done popd +# Add the soname symlink. +/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/ rm -f $RPM_BUILD_ROOT/root_marker %clean @@ -92,6 +94,9 @@ rm -fr $RPM_BUILD_ROOT %{_datadir}/aclocal/gpg-error.m4 %changelog +* Mon Oct 15 2007 Nalin Dahyabhai - 1.5-6 +- use ldconfig to make the soname symlink so that it gets packaged (#331241) + * Wed Aug 22 2007 Nalin Dahyabhai - 1.5-5 - add missing gawk buildrequirement