]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: version an Obsoletes
authorNathan Cutler <ncutler@suse.com>
Mon, 6 Apr 2020 20:59:51 +0000 (22:59 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 6 Apr 2020 21:00:23 +0000 (23:00 +0200)
RPM 4.15.1 warns: It's not recommended to have unversioned Obsoletes.

Heed the warning.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index 20f8f87f9250fdf245e9bad3c94ae33afb9f5c5e..6342b76b256cc7e85125a36f1abce5a1cdbda27d 100644 (file)
@@ -947,7 +947,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