Hello community, here is the log from the commit of package libpmemobj-cpp for openSUSE:Factory checked in at 2020-03-06 21:27:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpmemobj-cpp (Old) and /work/SRC/openSUSE:Factory/.libpmemobj-cpp.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpmemobj-cpp" Fri Mar 6 21:27:14 2020 rev:6 rq:781097 version:1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/libpmemobj-cpp/libpmemobj-cpp.changes 2019-10-27 13:40:42.045244314 +0100 +++ /work/SRC/openSUSE:Factory/.libpmemobj-cpp.new.26092/libpmemobj-cpp.changes 2020-03-06 21:27:21.881552566 +0100 @@ -1,0 +2,16 @@ +Thu Feb 13 09:14:33 UTC 2020 - Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> + +- Update to version 1.9 + - segment_vector has graduated out of experiment. + - new methods for pmem::obj::string (find() and its overloads) + - defragmentation feature as a separate class in pmem::obj namespace and + support for the defragmentation in containers: concurrent_hash_map, + vector, string + - removed template parameters from persistent_ptr_base class (make it + type agnostic) and moved to the public API + - new methods for pmem::obj::concurrent_hash_map (insert_or_assign and + its overloads) +- Add Add-support-for-older-cmake.patch for compatibility with older cmake versions +- Disable tests for older GCC with incomplete c++14 support + +------------------------------------------------------------------- Old: ---- 1.8.tar.gz New: ---- 1.9.tar.gz Add-support-for-older-cmake.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpmemobj-cpp.spec ++++++ --- /var/tmp/diff_new_pack.YgVcG9/_old 2020-03-06 21:27:22.425552902 +0100 +++ /var/tmp/diff_new_pack.YgVcG9/_new 2020-03-06 21:27:22.425552902 +0100 @@ -1,7 +1,7 @@ # # spec file for package libpmemobj-cpp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,15 +21,17 @@ Summary: C++ bindings for libpmemobj License: BSD-3-Clause Group: Development/Libraries/C and C++ -Version: 1.8 +Version: 1.9 Release: 0 URL: http://pmem.io/pmdk/ Source: https://github.com/pmem/libpmemobj-cpp/archive/%{version}.tar.gz +Patch0: Add-support-for-older-cmake.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake +BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: pkg-config -BuildRequires: pkgconfig(libpmemobj) >= 1.7 +BuildRequires: pkgconfig(libpmemobj) >= 1.8 ExclusiveArch: x86_64 %description @@ -60,11 +62,12 @@ %prep %setup -q +%patch0 %build %cmake \ %if %{suse_version} < 1500 - -DENABLE_ARRAY=OFF -DENABLE_VECTOR=OFF -DENABLE_STRING=OFF \ + -DTEST_ARRAY=OFF -DTEST_VECTOR=OFF -DTEST_STRING=OFF -DTEST_CONCURRENT_HASHMAP=OFF -DTEST_SEGMENT_VECTOR_ARRAY_EXPSIZE=OFF -DTEST_SEGMENT_VECTOR_VECTOR_EXPSIZE=OFF -DTEST_SEGMENT_VECTOR_VECTOR_FIXEDSIZE=OFF -DTEST_ENUMERABLE_THREAD_SPECIFIC=OFF \ %endif -DCMAKE_INSTALL_DOCDIR="%_docdir/%name" make %{?_smp_mflags} ++++++ 1.8.tar.gz -> 1.9.tar.gz ++++++ ++++ 36827 lines of diff (skipped) ++++++ Add-support-for-older-cmake.patch ++++++ commit 3ad51fe8692a28297bcc32758e41bd4c46a493d8 Author: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> Date: Mon Mar 2 10:10:44 2020 +0100 Add support for older cmake cmake GREATER_EQUAL comparator was not available on SLE12 Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> diff --git cmake/check_compiling_issues.cmake cmake/check_compiling_issues.cmake index 76de61fba773..a1d89590f12d 100644 --- cmake/check_compiling_issues.cmake +++ cmake/check_compiling_issues.cmake @@ -37,7 +37,7 @@ if(NOT MSVC_VERSION) # Even if we are ensuring that we use CMAKE_CXX_STANDARD >= 14, check if # shared_mutex header file is available for the current compiler version # because CXX_STANDARD is being set to 14 for --c++1y parameter - if(CXX_STANDARD GREATER_EQUAL 14) + if((CXX_STANDARD GREATER 14) OR (CXX_STANDARD EQUAL 14)) set(CMAKE_REQUIRED_FLAGS "--std=c++${CMAKE_CXX_STANDARD} -c") CHECK_CXX_SOURCE_COMPILES( "#include <shared_mutex>