From: Anoop C S Date: Wed, 18 Sep 2024 12:35:30 +0000 (+0530) Subject: ceph.spec.in: Fix unversioned Obsoletes: rpmbuild warning X-Git-Tag: v20.0.0~988^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F59858%2Fhead;p=ceph.git ceph.spec.in: Fix unversioned Obsoletes: rpmbuild warning 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index e4347a16953ab..a53f9afbe7e3d 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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