Set the minimal required version of the mysql-selinux package

This commit is contained in:
Michal Schorm 2024-06-09 07:36:14 +02:00
parent 603aa27cc7
commit a8701cb45d

View File

@ -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