From afd27596802478e99c0c495352811b738d301a2c Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 18 Sep 2024 18:05:30 +0530 Subject: [PATCH] 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 --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5