Hello community, here is the log from the commit of package yaml-cpp for openSUSE:Factory checked in at 2016-07-15 12:51:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yaml-cpp (Old) and /work/SRC/openSUSE:Factory/.yaml-cpp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yaml-cpp" Changes: -------- --- /work/SRC/openSUSE:Factory/yaml-cpp/yaml-cpp.changes 2016-02-17 12:26:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yaml-cpp.new/yaml-cpp.changes 2016-07-15 12:51:53.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Jul 11 07:51:14 UTC 2016 - [email protected] + +- Fix building with updated cmake and wrong -fPIE parsing: + * yaml-cpp-disable-bundled-gmock.patch + * yaml-cpp-fix-pie.patch + +------------------------------------------------------------------- New: ---- yaml-cpp-disable-bundled-gmock.patch yaml-cpp-fix-pie.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yaml-cpp.spec ++++++ --- /var/tmp/diff_new_pack.QqMINA/_old 2016-07-15 12:51:54.000000000 +0200 +++ /var/tmp/diff_new_pack.QqMINA/_new 2016-07-15 12:51:54.000000000 +0200 @@ -25,11 +25,16 @@ Group: Development/Libraries/C and C++ Url: https://github.com/jbeder/yaml-cpp/ Source: https://github.com/jbeder/yaml-cpp/archive/release-%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM: do not override opts for linker as distro provides +# correct ones +Patch0: yaml-cpp-fix-pie.patch +# PATCH-FIX-SUSE: disable bunlded gmock as the tests can't be run in obs anyway +Patch1: yaml-cpp-disable-bundled-gmock.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,10 +59,11 @@ %prep %setup -q -n %{name}-release-%{version} +%patch0 -p1 +%patch1 -p1 %build -%cmake \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo +%cmake make %{?_smp_mflags} %install ++++++ yaml-cpp-disable-bundled-gmock.patch ++++++ Index: yaml-cpp-release-0.5.3/CMakeLists.txt =================================================================== --- yaml-cpp-release-0.5.3.orig/CMakeLists.txt +++ yaml-cpp-release-0.5.3/CMakeLists.txt @@ -328,7 +328,6 @@ endif() ### Extras ### if(YAML_CPP_BUILD_TOOLS) - add_subdirectory(test) add_subdirectory(util) endif() ++++++ yaml-cpp-fix-pie.patch ++++++ Index: yaml-cpp-release-0.5.3/CMakeLists.txt =================================================================== --- yaml-cpp-release-0.5.3.orig/CMakeLists.txt +++ yaml-cpp-release-0.5.3/CMakeLists.txt @@ -271,10 +251,6 @@ set(_INSTALL_DESTINATIONS ### add_library(yaml-cpp ${library_sources}) set_target_properties(yaml-cpp PROPERTIES - COMPILE_FLAGS "${yaml_c_flags} ${yaml_cxx_flags}" -) - -set_target_properties(yaml-cpp PROPERTIES VERSION "${YAML_CPP_VERSION}" SOVERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}" PROJECT_LABEL "yaml-cpp ${LABEL_SUFFIX}"
