- Fix dangling symlinks for shared lib, thanks to Lucian Langa for pointing

out the issue.
This commit is contained in:
Jeffrey C. Ollie 2009-07-29 15:19:51 +00:00
parent 05a8977beb
commit 59259d6d9c

View File

@ -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 <jeff@ocjtech.us> - 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 <jeff@ocjtech.us> - 1.0.13-1.1
- Upload sources