From a8701cb45d213f2b8e1602f9663f52a8118acb93 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Sun, 9 Jun 2024 07:36:14 +0200 Subject: [PATCH] Set the minimal required version of the mysql-selinux package --- mariadb10.11.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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