From: Nathan Cutler Date: Mon, 6 Apr 2020 20:59:51 +0000 (+0200) Subject: ceph.spec.in: version an Obsoletes X-Git-Tag: v14.2.10~114^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3958bf54a18c2044280139b71861bd35dc3e3907;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 052ee224d6d6..d53986f1cdec 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -883,7 +883,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