]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: Fix unversioned Obsoletes: rpmbuild warning 59858/head
authorAnoop C S <anoopcs@cryptolab.net>
Wed, 18 Sep 2024 12:35:30 +0000 (18:05 +0530)
committerAnoop C S <anoopcs@cryptolab.net>
Wed, 18 Sep 2024 12:35:30 +0000 (18:05 +0530)
Fix the following warning while building source rpm with `rpmbuild`:

warning: line 1187: It's not recommended to have
  unversioned Obsoletes: Obsoletes: ceph-libcephfs

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
ceph.spec.in

index e4347a16953ab44d32e0f18a061d9a47bbdcfd93..a53f9afbe7e3d9a5410c27d7a141ce6195f23512 100644 (file)
@@ -1184,7 +1184,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 < %{_epoch_prefix}%{version}-%{release}
 %endif
 %description -n libcephfs2
 Ceph is a distributed network file system designed to provide excellent