Skip to content

Commit afd2759

Browse files
committed
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 <[email protected]>
1 parent 4c7c472 commit afd2759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ceph.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ Group: System/Libraries
11841184
Obsoletes: libcephfs1 < %{_epoch_prefix}%{version}-%{release}
11851185
%if 0%{?rhel} || 0%{?fedora} || 0%{?openEuler}
11861186
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
1187-
Obsoletes: ceph-libcephfs
1187+
Obsoletes: ceph-libcephfs < %{_epoch_prefix}%{version}-%{release}
11881188
%endif
11891189
%description -n libcephfs2
11901190
Ceph is a distributed network file system designed to provide excellent

0 commit comments

Comments
 (0)