diff --git a/boost-cmake-soname.patch b/boost-cmake-soname.patch new file mode 100644 index 0000000..8d732eb --- /dev/null +++ b/boost-cmake-soname.patch @@ -0,0 +1,19 @@ +*** tools/build/CMake/BoostCore.cmake.orig 2010-01-12 20:01:46.006547352 -0800 +--- tools/build/CMake/BoostCore.cmake 2010-01-12 20:02:54.222546929 -0800 +*************** macro(boost_library_variant LIBNAME) +*** 755,761 **** + if (BUILD_SOVERSIONED) + set_target_properties(${VARIANT_LIBNAME} + PROPERTIES +! SOVERSION "${BOOST_VERSION}" + ) + endif() + endif () +--- 755,761 ---- + if (BUILD_SOVERSIONED) + set_target_properties(${VARIANT_LIBNAME} + PROPERTIES +! SOVERSION "_FEDORA_SONAME" + ) + endif() + endif () diff --git a/boost.spec b/boost.spec index 92c5204..0975949 100644 --- a/boost.spec +++ b/boost.spec @@ -83,7 +83,7 @@ BuildRequires: chrpath Patch0: boost-1.46.0-cmakeify.patch Patch1: boost-1.46.0-cmakeify-more.patch -#Patch2: boost-cmake-soname.patch +Patch2: boost-cmake-soname.patch # https://svn.boost.org/trac/boost/ticket/4999 Patch3: boost-1.46.0-signals-erase.patch @@ -410,6 +410,7 @@ a number of significant features and is now developed independently # CMake framework (CMakeLists.txt, *.cmake and documentation files) %patch0 -p1 %patch1 -p1 +sed 's/_FEDORA_SONAME/%{sonamever}/' %{PATCH2} | %{__patch} -p0 --fuzz=0 # fixes %patch3 -p1 @@ -828,6 +829,7 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_ %changelog * Thu Feb 3 2011 Petr Machata - 1.46.0-0.beta1 - Package 1.46.0-beta1 +- Reintroduce the soname patch - Related: #656410 * Mon Jan 10 2011 Denis Arnaud - 1.44.0-7