From 48b7d75d18ebd4ec969ca9a065b3b472fc42efb6 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 24 Jun 2025 16:30:11 +0800 Subject: [PATCH] ceph.spec.in: Remove rgw-restore-bucket-index.8* from packaging Fix RPM build failure caused by missing manpage in reef branch. In commit bbe80059, we backported 8d0ec766 to reef but incorrectly included `%{_mandir}/man8/rgw-restore-bucket-index.8*` in the package files section. The original commit 8d0ec766 only added `%{_mandir}/man8/rgw-gap-list.8*`, and the rgw-restore-bucket-index manpage is not built in the reef branch. This caused RPM build failures because rpmbuild requires all packaged files to exist in the build directory: ``` error: File not found: /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/18.2.7-518-ge3d44f43/rpm/el9/BUILDROOT/ceph-18.2.7-518.ge3d44f43.el9.x86_64/usr/share/man/man8/rgw-restore-bucket-index.8* ``` In this change, we remove `%{_mandir}/man8/rgw-restore-bucket-index.8*` from the ceph-common package files section to resolve this issue. Note: This is a reef-specific fix addressing a backport issue and is not cherry-picked from master. Signed-off-by: Kefu Chai --- ceph.spec.in | 1 - 1 file changed, 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 6da29792df0..de390039a8f 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1712,7 +1712,6 @@ exit 0 %{_mandir}/man8/rbd-replay-prep.8* %{_mandir}/man8/rgw-orphan-list.8* %{_mandir}/man8/rgw-gap-list.8* -%{_mandir}/man8/rgw-restore-bucket-index.8* %dir %{_datadir}/ceph/ %{_datadir}/ceph/known_hosts_drop.ceph.com %{_datadir}/ceph/id_rsa_drop.ceph.com -- 2.39.5