diff --git a/mariadb10.11.spec b/mariadb10.11.spec index 99abd33..b0ffc94 100644 --- a/mariadb10.11.spec +++ b/mariadb10.11.spec @@ -481,7 +481,7 @@ Requires: %{_sysconfdir}/my.cnf.d # For cases, where we want to fix a SELinux issues in MariaDB sooner than patched selinux-policy-targeted package is released %if %{with require_mysql_selinux} # The *-selinux package should only be required on SELinux enabled systems. Therefore the following rich dependency syntax should be used: -Requires: (mysql-selinux if selinux-policy-targeted) +Requires: (mysql-selinux >= 1.0.10 if selinux-policy-targeted) # This ensures that the *-selinux package and all its dependencies are not pulled into containers and other systems that do not use SELinux. # https://fedoraproject.org/wiki/SELinux/IndependentPolicy#Adding_dependency_to_the_spec_file_of_corresponding_package %endif