From 3cd64080738b061f61c2e513400868584d4309f5 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Oct 11 2021 08:27:52 +0000 Subject: glusterfs-server should require glusterfs-selinux Fixes: https://bugzilla.redhat.com/2002178 --- diff --git a/SPECS/glusterfs.spec b/SPECS/glusterfs.spec index 0199e66..af8308e 100644 --- a/SPECS/glusterfs.spec +++ b/SPECS/glusterfs.spec @@ -206,7 +206,7 @@ Summary: Distributed File System %if ( 0%{_for_fedora_koji_builds} ) Name: glusterfs Version: 8.6 -Release: 1%{?dev:%{dev}}%{?dist} +Release: 2%{?dev:%{dev}}%{?dist} %else Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ @@ -696,6 +696,9 @@ Requires: %{name} = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-cli = %{version}-%{release} Requires: libgfchangelog0 = %{version}-%{release} +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +Requires: (glusterfs-selinux >= 0.1.0-2 if selinux-policy-targeted) +%endif # some daemons (like quota) use a fuse-mount, glusterfsd is part of -fuse Requires: %{name}-fuse = %{version}-%{release} # self-heal daemon, rebalance, nfs-server etc. are actually clients @@ -1612,6 +1615,9 @@ exit 0 %endif %changelog +* Mon Oct 11 2021 Niels de Vos - 8.6-2 +- glusterfs-server should require glusterfs-selinux (glusterfs#2780) + * Fri Aug 20 2021 Niels de Vos - 8.6-1 - 8.6 GA