[libvirt PATCH 07/13] rpm: move logic for setting selinux policy variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is currently mixed in with the comment and variables controlling the
min OS version.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 libvirt.spec.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index aa50db3c16..37f8a218e6 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -4,11 +4,6 @@
 # that's still supported by the vendor. It may work on other distros
 # or versions, but no effort will be made to ensure that going forward.
 
-%if 0%{?fedora} > 34 || 0%{?rhel} > 8
-    %global with_selinux 1
-    %global modulename virt
-%endif
-
 %define min_rhel 8
 %define min_fedora 33
 
@@ -192,6 +187,11 @@
     %define with_modular_daemons 1
 %endif
 
+%if 0%{?fedora} > 34 || 0%{?rhel} > 8
+    %global with_selinux 1
+    %global modulename virt
+%endif
+
 # Force QEMU to run as non-root
 %define qemu_user  qemu
 %define qemu_group  qemu
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux