- use ldconfig to make the soname symlink so that it gets packaged

(#331241)
This commit is contained in:
Nalin Dahyabhai 2007-10-15 17:54:58 +00:00
parent fa1aec53a2
commit 73dc307d8e

View File

@ -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 <nalin@redhat.com> - 1.5-6
- use ldconfig to make the soname symlink so that it gets packaged (#331241)
* Wed Aug 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-5
- add missing gawk buildrequirement