Fix updating if vfs_glusterfs or ctdb-tests pacakges are installed

This commit is contained in:
Andreas Schneider 2021-05-12 14:49:04 +02:00
parent b69385bc2d
commit f08374c6d4

View File

@ -396,6 +396,22 @@ Obsoletes: samba-dc-libs < %{samba_depver}
Obsoletes: samba-dc-bind-dlz < %{samba_depver}
%endif
# If only build glusterfs for RHGS and Fedora, so obsolete it on other version
# of the distro
%if %{without vfs_glusterfs}
Obsoletes: samba-vfs-glusterfs < %{samba_depver}
# endif without vfs_glusterfs
%endif
# ctdb-tests package has been dropped if we do not build the testsuite
%if %{with clustering}
%if %{without testsuite}
Obsoletes: ctdb-tests< %{samba_depver}
# endif without testsuite
%endif
# endif with clustering
%endif
Provides: bundled(libreplace)
%description common