--- /home/leigh/cvs/rb_libtorrent/master/rb_libtorrent.spec 2010-09-05 16:58:49.879088547 +0100 +++ /home/leigh/cvs/rb_libtorrent/master/new/rb_libtorrent.spec 2010-11-18 19:32:39.000000000 +0000 @@ -1,5 +1,5 @@ Name: rb_libtorrent -Version: 0.14.11 +Version: 0.15.4 Release: 1%{?dist} Summary: A C++ BitTorrent library aiming to be the best alternative @@ -92,10 +92,10 @@ module) that allow it to be used from wi %setup -q -n "libtorrent-rasterbar-%{version}" ## patch0 and patch2 touch automake-related files #patch0 -p1 -%patch1 -p1 +#patch1 -p1 #patch2 -p1 -b .py27-am -%patch3 -p1 -b .py27 -%patch4 -p1 -b .gcc45 +#patch3 -p1 -b .py27 +#patch4 -p1 -b .gcc45 ## The RST files are the sources used to create the final HTML files; and are ## not needed. @@ -120,6 +120,15 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{ ## XXX: Even with the --with-asio=system configure option, the stuff in ## the local include directory overrides that of the system. We don't like ## local copies of system code. :) + +## FIXME +## FIXME +## There are lots of warning about breaking aliasing rules, so +## for now compiling with -fno-strict-aliasing. Please check if +## newer version fixes this. +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="%{optflags} -fno-strict-aliasing" + rm -rf include/libtorrent/asio* @@ -185,7 +194,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README -%{_libdir}/libtorrent-rasterbar.so.5* +%{_libdir}/libtorrent-rasterbar.so.6* %files devel %defattr(-,root,root,-) @@ -208,6 +217,10 @@ rm -rf %{buildroot} %changelog +* Thu Nov 18 2010 leigh scott - 0.15.4-2 +- rb_libtorrent-0.15.4 +- Drop g++4.5 python2.7 and DSO patches + * Wed Aug 25 2010 Rex Dieter - 0.14.11-1 - rb_libtorrent-0.14.11 - track lib soname