Fix version of selinux package dependency (#2749)

This commit is contained in:
Clément OUDOT 2022-05-09 14:36:03 +00:00
parent 727afeefd2
commit 97021346ee

View File

@ -205,7 +205,7 @@ Requires: lemonldap-ng-test = %{version}-%{release}
# ! Not available in Centos7, you need to install lemonldap-ng-selinux manually
# This ensures that the *-selinux package and all its dependencies are not pulled
# into containers and other systems that do not use SELinux
Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
Requires: (%{name}-selinux = %{version}-%{release} if selinux-policy-%{selinuxtype})
%endif