- Fix symbolic links.

This commit is contained in:
Benjamin Kosnik 2006-01-05 21:44:36 +00:00
parent ace5fba543
commit ce250c841e

View File

@ -3,7 +3,7 @@
Name: boost Name: boost
Summary: The Boost C++ Libraries Summary: The Boost C++ Libraries
Version: 1.33.1 Version: 1.33.1
Release: 3 Release: 4
License: Boost Software License License: Boost Software License
URL: http://www.boost.org/ URL: http://www.boost.org/
Group: System Environment/Libraries Group: System Environment/Libraries
@ -104,15 +104,17 @@ for i in `find stage -type f -name \*.a`; do
NAME=`basename $i`; NAME=`basename $i`;
install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME; install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
done; 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 for i in `find stage -type f -name \*.so.*`; do
NAME=`basename $i`; NAME=`basename $i`;
install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME; install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
done; 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 # install include files
for i in `find boost -type d`; do for i in `find boost -type d`; do
@ -157,6 +159,9 @@ rm -rf $RPM_BUILD_ROOT
%{_docdir}/boost-%{version} %{_docdir}/boost-%{version}
%changelog %changelog
* Thu Jan 05 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-4
- Fix symbolic links.
* Wed Jan 04 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-3 * Wed Jan 04 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-3
- Update to boost-1.33.1. - Update to boost-1.33.1.
- (#176485: Missing BuildRequires) - (#176485: Missing BuildRequires)