]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph.spec.in: ceph-libcephfs Obsoletes statement to explicitly handle all versions
authorAlexander Indenbaum <aindenba@redhat.com>
Sun, 2 Feb 2025 12:32:02 +0000 (12:32 +0000)
committerAlexander Indenbaum <aindenba@redhat.com>
Thu, 20 Nov 2025 08:55:27 +0000 (10:55 +0200)
See https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos9,DIST=centos9,MACHINE_SIZE=gigantic/86476//consoleFull

RPM build errors:
    line 1113: It's not recommended to have unversioned Obsoletes: Obsoletes:   ceph-libcephfs
    Bad exit status from /var/tmp/rpm-tmp.Sgykv2 (%build)
Sun Feb  2 11:15:36 AM UTC 2025 :: rm -fr /tmp/install-deps.938883
Build step 'Execute shell' marked build as failure
New run name is '#86476 origin/reef-nvmeof, dc4eafb054

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
ceph.spec.in

index 6cdd0a7f1ff606c1d7b31cae3588bcf107998434..f84284171db19d027bf50f0b5a1a017722fe65ed 100644 (file)
@@ -1110,7 +1110,7 @@ Group:            System/Libraries
 Obsoletes:     libcephfs1 < %{_epoch_prefix}%{version}-%{release}
 %if 0%{?rhel} || 0%{?fedora} || 0%{?openEuler}
 Obsoletes:     ceph-libs < %{_epoch_prefix}%{version}-%{release}
-Obsoletes:     ceph-libcephfs
+Obsoletes:     ceph-libcephfs < 999
 %endif
 %description -n libcephfs2
 Ceph is a distributed network file system designed to provide excellent