diff --git a/ceph.spec b/ceph.spec index 35d7f632fba25d44a1e718e7aae8ed2ddcbe8803..6934bdcd1128367d5af37668910578c2e7fc31cb 100644 --- a/ceph.spec +++ b/ceph.spec @@ -174,7 +174,7 @@ ################################################################################# Name: ceph Version: 18.2.2 -Release: 1 +Release: 2 %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} Epoch: 2 %endif @@ -220,6 +220,7 @@ BuildRequires: python3-unversioned-command BuildRequires: gperf BuildRequires: cmake > 3.5 BuildRequires: fuse-devel +BuildRequires: chrpath %if 0%{?fedora} || 0%{?suse_version} > 1500 || 0%{?rhel} == 9 || 0%{?openEuler} BuildRequires: gcc-c++ >= 11 %endif @@ -1533,6 +1534,9 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd-mirror +chrpath -d %{buildroot}%{_bindir}/rbd-fuse +chrpath -d %{buildroot}%{_bindir}/rbd-mirror +chrpath -d %{buildroot}%{_bindir}/rbd-nbd # prometheus alerts install -m 644 -D monitoring/ceph-mixin/prometheus_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml @@ -2631,6 +2635,9 @@ exit 0 %{_datadir}/snmp/mibs %changelog +* Mon Apr 08 2024 zhangxianting - 2:18.2.2-2 +- remove chrpath + * Tue Mar 12 2024 wangzengliang - 2:18.2.2-1 - upgrade ceph to 18.2.2