Update to version 1.13.0
This commit is contained in:
parent
7d78b3dd33
commit
0f0b658b38
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
25d601e0140f3d8db94edb19902826a6b91286e4 libpmemobj-cpp-1.13.0.tar.gz
|
|
@ -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 <bgurney@redhat.com> - 1.13.0-1
|
||||
- Update to version 1.13.0
|
||||
- Resolves: rhbz#2136803
|
||||
|
||||
* Mon Feb 28 2022 Bryan Gurney <bgurney@redhat.com> - 1.12-8
|
||||
- Apply patch to fix undefined behavior on realloc
|
||||
- Also add and apply patch to fix referencing empty array
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (libpmemobj-cpp-1.12.tar.gz) = 7d837e57f9caac6c9523eeacd5babe1ce6afb08ae798bf5cbd4b460d347a4aff7f97667cae486e397fc4de03263614af3a4ac3bcbe70dc643d9ee1d6e45246e6
|
||||
SHA512 (libpmemobj-cpp-1.13.0.tar.gz) = 3968ab725fc439dd00638fd3306d8e9229bb36bf9cfa3faf97a78e41ef05293deff1e4f147f6b4c0a6164f7d153cb21764617b5a39bf4164a6b325d620cf1441
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
required_packages:
|
||||
- libpmemobj-devel
|
||||
- libpmemobj++-devel
|
||||
- libatomic
|
||||
- gcc-c++
|
||||
- cmake
|
||||
- make
|
||||
|
|
Loading…
Reference in New Issue