- SONAME to 3.

This commit is contained in:
Benjamin Kosnik 2007-08-03 02:57:47 +00:00
parent 39a7ebf89d
commit 9e0e852507
2 changed files with 8 additions and 5 deletions

View File

@ -14,7 +14,7 @@
HAVE_SONAME = "" ; HAVE_SONAME = "" ;
! SONAME_OPTION = -soname ; ! SONAME_OPTION = -soname ;
! SONAME_VERSION = 2 ; ! SONAME_VERSION = 3 ;
} }

View File

@ -1,7 +1,7 @@
Name: boost Name: boost
Summary: The Boost C++ Libraries Summary: The Boost C++ Libraries
Version: 1.34.1 Version: 1.34.1
Release: 1%{?dist} Release: 2%{?dist}
License: Boost Software License (GPL-Compatible, Free Software License) License: Boost Software License (GPL-Compatible, Free Software License)
URL: http://www.boost.org/ URL: http://www.boost.org/
Group: System Environment/Libraries Group: System Environment/Libraries
@ -138,11 +138,11 @@ for i in `find stage -type f -name \*.a`; do
done; done;
for i in `find stage -type f -name \*.so`; do for i in `find stage -type f -name \*.so`; do
NAME=$i; NAME=$i;
SONAME=$i.2; SONAME=$i.3;
VNAME=$i.%{version}; VNAME=$i.%{version};
base=`basename $i`; base=`basename $i`;
NAMEbase=$base; NAMEbase=$base;
SONAMEbase=$base.2; SONAMEbase=$base.3;
VNAMEbase=$base.%{version}; VNAMEbase=$base.%{version};
mv $i $VNAME; mv $i $VNAME;
ln -s $VNAMEbase $SONAME; ln -s $VNAMEbase $SONAME;
@ -183,7 +183,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root, -) %defattr(-, root, root, -)
%{_libdir}/*.so.%{version} %{_libdir}/*.so.%{version}
%{_libdir}/*.so.2 %{_libdir}/*.so.3
%files devel %files devel
%defattr(-, root, root, -) %defattr(-, root, root, -)
@ -199,6 +199,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_docdir}/boost-%{version} %doc %{_docdir}/boost-%{version}
%changelog %changelog
* Thu Aug 02 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-2
- SONAME to 3.
* Tue Jul 31 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-1 * Tue Jul 31 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-1
- Update to boost_1_34_1. - Update to boost_1_34_1.
- Source via http. - Source via http.