From 4f3c178d410fefce54a88d6e2a8f5971f79bb8af Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Jan 26 2023 12:31:12 +0000 Subject: ceph-16.2.11 GA --- diff --git a/.ceph.metadata b/.ceph.metadata index 411a5aa..4e89266 100644 --- a/.ceph.metadata +++ b/.ceph.metadata @@ -1 +1 @@ -50e9fc0e88d356ff22d0d9fe6096ac0c9f5847b1 SOURCES/ceph-16.2.10.tar.gz +6a2c4b56a1f834b88e13f9fa66a068f8e70ce93e SOURCES/ceph-16.2.11.tar.gz diff --git a/SPECS/ceph.spec b/SPECS/ceph.spec index 4196f09..861d4ad 100644 --- a/SPECS/ceph.spec +++ b/SPECS/ceph.spec @@ -32,7 +32,15 @@ %else %bcond_without tcmalloc %endif +%if 0%{?rhel} >= 9 +%ifarch x86_64 +%bcond_without system_pmdk +%else %bcond_with system_pmdk +%endif +%else +%bcond_with system_pmdk +%endif %if 0%{?fedora} || 0%{?rhel} %bcond_without selinux %ifarch x86_64 ppc64le @@ -124,11 +132,18 @@ # disable dwz which compresses the debuginfo %global _find_debuginfo_dwz_opts %{nil} +%if 0%{with seastar} +# disable -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1, as gcc-toolset-{9,10}-annobin +# do not provide gcc-annobin.so anymore, despite that they provide annobin.so. but +# redhat-rpm-config still passes -fplugin=gcc-annobin to the compiler. +%undefine _annotated_build +%endif + ################################################################################# # main package definition ################################################################################# Name: ceph -Version: 16.2.10 +Version: 16.2.11 Release: 1%{?dist} %if 0%{?fedora} || 0%{?rhel} Epoch: 2 @@ -150,7 +165,6 @@ Patch0001: 0001-src-common-crc32c_intel_fast.patch Patch0003: 0003-src-common-bitstr.h.patch Patch0007: 0007-src-test-neorados-CMakeLists.txt.patch Patch0008: 0008-cmake-modules-Finduring.cmake.patch -Patch0014: 0014-rgw-Replace-boost-string_ref-view-with-std-string_vi.patch Patch0015: 0015-src-kv-rocksdb_cache.patch Patch0016: 0016-src-tracing-patch Source1: cmake-modules-BuildBoost.cmake.noautopatch @@ -254,7 +268,6 @@ BuildRequires: %{luarocks_package_name} BuildRequires: jq BuildRequires: libuuid-devel BuildRequires: python%{python3_pkgversion}-bcrypt -BuildRequires: python%{python3_pkgversion}-nose BuildRequires: python%{python3_pkgversion}-pecan BuildRequires: python%{python3_pkgversion}-requests BuildRequires: python%{python3_pkgversion}-dateutil @@ -330,6 +343,7 @@ BuildRequires: rdma-core-devel BuildRequires: liblz4-devel >= 1.7 # for prometheus-alerts BuildRequires: golang-github-prometheus-prometheus +BuildRequires: jsonnet %endif %if 0%{?fedora} || 0%{?rhel} Requires: systemd @@ -373,6 +387,7 @@ BuildRequires: python%{python3_pkgversion}-pyOpenSSL %endif %if 0%{?suse_version} BuildRequires: golang-github-prometheus-prometheus +BuildRequires: jsonnet BuildRequires: libxmlsec1-1 BuildRequires: libxmlsec1-nss1 BuildRequires: libxmlsec1-openssl1 @@ -579,6 +594,7 @@ Group: System/Filesystems Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release} Requires: ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release} +Requires: python%{python3_pkgversion}-setuptools %if 0%{?fedora} || 0%{?rhel} Requires: python%{python3_pkgversion}-cherrypy Requires: python%{python3_pkgversion}-jwt @@ -628,6 +644,7 @@ Requires: python%{python3_pkgversion}-pecan Requires: python%{python3_pkgversion}-pyOpenSSL Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-dateutil +Requires: python%{python3_pkgversion}-setuptools %if 0%{?fedora} || 0%{?rhel} >= 8 Requires: python%{python3_pkgversion}-cherrypy Requires: python%{python3_pkgversion}-pyyaml @@ -1235,9 +1252,11 @@ patch -p1 < %{SOURCE1} %endif %build -# LTO can be enabled as soon as the following GCC bug is fixed: -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 +# Disable lto on systems that do not support symver attribute +# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 for details +%if ( 0%{?rhel} && 0%{?rhel} < 9 ) || ( 0%{?suse_version} && 0%{?suse_version} <= 1500 ) %define _lto_cflags %{nil} +%endif # . /opt/rh/gcc-toolset-9/enable # %%if 0%%{with seastar} && 0%%{?rhel} @@ -1588,8 +1607,7 @@ exit 0 %if ! 0%{?suse_version} %postun -n cephadm -userdel -r cephadm || true -exit 0 +[ $1 -ne 0 ] || userdel cephadm || : %endif %files -n cephadm @@ -1627,6 +1645,8 @@ exit 0 %{_bindir}/rbd-replay-prep %endif %{_bindir}/ceph-post-file +%dir %{_libdir}/ceph/denc +%{_libdir}/ceph/denc/denc-mod-*.so %{_tmpfilesdir}/ceph-common.conf %{_mandir}/man8/ceph-authtool.8* %{_mandir}/man8/ceph-conf.8* @@ -2531,6 +2551,9 @@ exit 0 %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %changelog +* Wed Jan 25 2023 Kaleb S. KEITHLEY - 2:16.2.11-1 +- 16.2.11 GA + * Fri Jul 22 2022 Kaleb S. KEITHLEY - 2:16.2.10-1 - 16.2.10 GA