diff --git a/.gitignore b/.gitignore index e78286a..2f319cf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /libpmemobj-cpp-1.10.tar.gz /libpmemobj-cpp-1.11.tar.gz /libpmemobj-cpp-1.12.tar.gz +/libpmemobj-cpp-1.13.0.tar.gz diff --git a/.libpmemobj-cpp.metadata b/.libpmemobj-cpp.metadata new file mode 100644 index 0000000..eda04f1 --- /dev/null +++ b/.libpmemobj-cpp.metadata @@ -0,0 +1 @@ +25d601e0140f3d8db94edb19902826a6b91286e4 libpmemobj-cpp-1.13.0.tar.gz diff --git a/libpmemobj-cpp.spec b/libpmemobj-cpp.spec index ae871c7..5e10977 100644 --- a/libpmemobj-cpp.spec +++ b/libpmemobj-cpp.spec @@ -1,10 +1,10 @@ %global __cmake_in_source_build 1 %global min_libpmemobj_ver 1.9 -%global upstreamversion 1.12 +%global upstreamversion 1.13.0 Name: libpmemobj-cpp -Version: 1.12 -Release: 8%{?dist} +Version: 1.13.0 +Release: 1%{?dist} Summary: C++ bindings for libpmemobj # Note: tests/external/libcxx is dual licensed using University of Illinois "BSD-Like" license and the MIT license. It's used only during development/testing and is NOT part of the binary RPM. License: BSD @@ -12,9 +12,6 @@ URL: http://pmem.io/pmdk/cpp_obj/ Source0: https://github.com/pmem/%{name}/archive/%{upstreamversion}.tar.gz#/%{name}-%{upstreamversion}.tar.gz -Patch0: 0001-vector-Fix-undefined-behaviour-on-realloc.patch -Patch1: 0002-vector-fix-referencing-empty-array-rhel90.patch - BuildRequires: libpmemobj-devel >= %{min_libpmemobj_ver} BuildRequires: cmake >= 3.3 BuildRequires: glibc-devel @@ -100,14 +97,12 @@ HTML documentation for libpmemobj++. %prep %setup -q -n libpmemobj-cpp-%{upstreamversion} -%patch0 -p1 -%patch1 -p1 %build mkdir build cd build # CXX_STANDARD=17 matters only for tests, it can be safely disabled in distros without c++17-compliant compiler -%cmake .. -DCMAKE_INSTALL_DOCDIR=%{_docdir}/libpmemobj++ -DBUILD_TESTS=off -DCXX_STANDARD=17 +%cmake .. -DCMAKE_INSTALL_DOCDIR=%{_docdir}/libpmemobj++ -DBUILD_TESTS=off -DCXX_STANDARD=17 -DTESTS_USE_VALGRIND=OFF %make_build %install @@ -115,6 +110,10 @@ cd build %make_install %changelog +* Mon Oct 31 2022 Bryan Gurney - 1.13.0-1 +- Update to version 1.13.0 +- Resolves: rhbz#2136803 + * Mon Feb 28 2022 Bryan Gurney - 1.12-8 - Apply patch to fix undefined behavior on realloc - Also add and apply patch to fix referencing empty array diff --git a/sources b/sources index 0cfcf1a..6da2b24 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libpmemobj-cpp-1.12.tar.gz) = 7d837e57f9caac6c9523eeacd5babe1ce6afb08ae798bf5cbd4b460d347a4aff7f97667cae486e397fc4de03263614af3a4ac3bcbe70dc643d9ee1d6e45246e6 +SHA512 (libpmemobj-cpp-1.13.0.tar.gz) = 3968ab725fc439dd00638fd3306d8e9229bb36bf9cfa3faf97a78e41ef05293deff1e4f147f6b4c0a6164f7d153cb21764617b5a39bf4164a6b325d620cf1441 diff --git a/tests/tests.yml b/tests/tests.yml index 99e2734..b9b35b0 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -10,6 +10,7 @@ required_packages: - libpmemobj-devel - libpmemobj++-devel + - libatomic - gcc-c++ - cmake - make