From 59259d6d9ccf20fb454ea7eeb312210751b1d65f Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Wed, 29 Jul 2009 15:19:51 +0000 Subject: [PATCH] - Fix dangling symlinks for shared lib, thanks to Lucian Langa for pointing out the issue. --- gsm.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gsm.spec b/gsm.spec index a585ce6..3060bdb 100644 --- a/gsm.spec +++ b/gsm.spec @@ -1,6 +1,6 @@ Name: gsm Version: 1.0.13 -Release: 1.1%{?dist} +Release: 2%{?dist} Summary: Shared libraries for GSM speech compressor Group: System Environment/Libraries @@ -79,8 +79,8 @@ make install \ GSM_INSTALL_LIB=$RPM_BUILD_ROOT%{_libdir} cp -p $RPM_BUILD_DIR/gsm-%{srcver}/lib/libgsm.so.%{soname} $RPM_BUILD_ROOT%{_libdir} -ln -s libgsm.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libgsm.so.1 -ln -s libgsm.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libgsm.so +ln -s libgsm.so.%{soname} $RPM_BUILD_ROOT%{_libdir}/libgsm.so.1 +ln -s libgsm.so.%{soname} $RPM_BUILD_ROOT%{_libdir}/libgsm.so # some apps look for this in /usr/include ln -s gsm/gsm.h $RPM_BUILD_ROOT%{_includedir} @@ -121,6 +121,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Wed Jul 29 2009 Jeffrey C. Ollie - 1.0.13-2 +- Fix dangling symlinks for shared lib, thanks to Lucian Langa for pointing out the issue. + * Tue Jul 28 2009 Jeffrey C. Ollie - 1.0.13-1.1 - Upload sources