From: Nathan Cutler Date: Mon, 6 Apr 2020 20:59:51 +0000 (+0200) Subject: ceph.spec.in: version an Obsoletes X-Git-Tag: v15.2.2~65^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=703240c69fcf0ef6539d87a436a2bea141a0b4e7;p=ceph.git ceph.spec.in: version an Obsoletes RPM 4.15.1 warns: It's not recommended to have unversioned Obsoletes. Heed the warning. Signed-off-by: Nathan Cutler (cherry picked from commit 48c79c11026e3b2c4a370f7780d1f38efc833052) --- diff --git a/ceph.spec.in b/ceph.spec.in index 01e9ca5b7faca..e4a8916769e69 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -936,7 +936,7 @@ Summary: Ceph distributed file system client library %if 0%{?suse_version} Group: System/Libraries %endif -Obsoletes: libcephfs1 +Obsoletes: libcephfs1 < %{_epoch_prefix}%{version}-%{release} %if 0%{?rhel} || 0%{?fedora} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libcephfs