From ce250c841e2149ff2bd392c2b97944c95c713e3c Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Thu, 5 Jan 2006 21:44:36 +0000 Subject: [PATCH] - Fix symbolic links. --- boost.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/boost.spec b/boost.spec index 20c202c..ace55d1 100644 --- a/boost.spec +++ b/boost.spec @@ -3,7 +3,7 @@ Name: boost Summary: The Boost C++ Libraries Version: 1.33.1 -Release: 3 +Release: 4 License: Boost Software License URL: http://www.boost.org/ Group: System Environment/Libraries @@ -104,15 +104,17 @@ for i in `find stage -type f -name \*.a`; do NAME=`basename $i`; install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME; done; -for i in `find stage -type l -name \*.so`; do - NAME=`basename $i`; - cp $i $RPM_BUILD_ROOT%{_libdir}/$NAME; - mv $i $RPM_BUILD_ROOT%{_libdir}/$NAME.2; -done; for i in `find stage -type f -name \*.so.*`; do NAME=`basename $i`; install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME; done; +for i in `find stage -type l -name \*.so`; do + NAME=`basename $i`; + SONAME=$NAME.2; + ln -s $NAME.* $SONAME; + mv $SONAME $RPM_BUILD_ROOT%{_libdir}/$SONAME; + mv $i $RPM_BUILD_ROOT%{_libdir}/$NAME; +done; # install include files for i in `find boost -type d`; do @@ -157,6 +159,9 @@ rm -rf $RPM_BUILD_ROOT %{_docdir}/boost-%{version} %changelog +* Thu Jan 05 2006 Benjamin Kosnik 1.33.1-4 +- Fix symbolic links. + * Wed Jan 04 2006 Benjamin Kosnik 1.33.1-3 - Update to boost-1.33.1. - (#176485: Missing BuildRequires)