From aededbc0e54cd560a63e64d9bd0fdfc9cd08bcca Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 26 Jan 2021 22:39:16 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/ceph.git#501243427ac6df390b83e07f650939791fb393b2 --- 0005-src-CMakeLists.txt.patch | 9 +++++---- 0007-src-tools-rbd-action-Bench.cc.patch | 10 ++++++++++ ceph.spec | 8 ++++++-- 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 0007-src-tools-rbd-action-Bench.cc.patch diff --git a/0005-src-CMakeLists.txt.patch b/0005-src-CMakeLists.txt.patch index 00a017c..0aecebd 100644 --- a/0005-src-CMakeLists.txt.patch +++ b/0005-src-CMakeLists.txt.patch @@ -1,6 +1,6 @@ ---- ceph-15.2.8/src/CMakeLists.txt.orig 2021-01-03 12:47:00.275274985 -0500 -+++ ceph-15.2.8/src/CMakeLists.txt 2021-01-03 12:51:17.957185433 -0500 -@@ -23,10 +23,15 @@ +--- ceph-15.2.8/src/CMakeLists.txt.orig 2021-01-25 13:34:31.122206146 -0500 ++++ ceph-15.2.8/src/CMakeLists.txt 2021-01-25 13:37:12.863612216 -0500 +@@ -23,10 +23,16 @@ set(datadir ${CEPH_INSTALL_DATADIR}) set(prefix ${CMAKE_INSTALL_PREFIX}) @@ -12,7 +12,8 @@ + -D_THREAD_SAFE + -D__STDC_FORMAT_MACROS + -D_FILE_OFFSET_BITS=64 -+ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION) ++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION ++ -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT) if(LINUX) - add_definitions("-D_GNU_SOURCE") + add_definitions(-D_GNU_SOURCE) diff --git a/0007-src-tools-rbd-action-Bench.cc.patch b/0007-src-tools-rbd-action-Bench.cc.patch new file mode 100644 index 0000000..d0ced55 --- /dev/null +++ b/0007-src-tools-rbd-action-Bench.cc.patch @@ -0,0 +1,10 @@ +--- ceph-15.2.8/src/tools/rbd/action/Bench.cc.orig 2021-01-25 17:08:06.189223814 -0500 ++++ ceph-15.2.8/src/tools/rbd/action/Bench.cc 2021-01-25 17:08:27.297805754 -0500 +@@ -10,6 +10,7 @@ + #include "include/types.h" + #include "global/signal_handler.h" + #include ++#include + #include + #include + #include diff --git a/ceph.spec b/ceph.spec index 589d7f5..ed3a839 100644 --- a/ceph.spec +++ b/ceph.spec @@ -101,7 +101,7 @@ ################################################################################# Name: ceph Version: 15.2.8 -Release: 5%{?dist} +Release: 6%{?dist} %if 0%{?fedora} || 0%{?rhel} Epoch: 2 %endif @@ -124,6 +124,7 @@ Patch0003: 0003-src-common-bitstr.h.patch Patch0004: 0004-src-common-ceph-time.h.patch Patch0005: 0005-src-CMakeLists.txt.patch Patch0006: 0006-src-rgw-rgw_asio_frontend.cc.patch +Patch0007: 0007-src-tools-rbd-action-Bench.cc.patch Source1: cmake-modules-BuildBoost.cmake.noautopatch # ceph 14.0.1 does not support 32-bit architectures, bugs #1727788, #1727787 ExcludeArch: i686 armv7hl @@ -1241,7 +1242,7 @@ cd build -DWITH_OCF=ON \ %endif -DWITH_REENTRANT_STRSIGNAL=ON \ - -DWITH_SYSTEM_BOOST=OFF \ + -DWITH_SYSTEM_BOOST=ON \ %ifarch aarch64 armv7hl mips mipsel ppc ppc64 ppc64le %{ix86} x86_64 -DWITH_BOOST_CONTEXT=ON \ %else @@ -2381,6 +2382,9 @@ exit 0 %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %changelog +* Mon Jan 25 2021 Kaleb S. KEITHLEY - 2:15.2.8-6 +- rebuilt with system Boost + * Fri Jan 22 2021 Kaleb S. KEITHLEY - 2:15.2.8-5 - rebuilt with bundled Boost