Don't pull in selinux-policy as a requires
Building Fedora images without the selinux policy should be possible. Currently, out of the 500 packages or so installed in the mkosi-kernel fedora image (https://github.com/DaanDeMeyer/mkosi-kernel), libguestfs is the only one that has a requires on selinux-policy. Let's make sure we don't pull in selinux-policy but do keep the version requirement intact if it is already installed.
This commit is contained in:
parent
007cc47bef
commit
ef0dbaea60
@ -335,7 +335,7 @@ Requires: libvirt-daemon-driver-qemu >= 7.1.0
|
||||
Requires: libvirt-daemon-driver-secret
|
||||
Requires: libvirt-daemon-driver-storage-core
|
||||
Recommends: passt
|
||||
Requires: selinux-policy >= 3.11.1-63
|
||||
Requires: (selinux-policy >= 3.11.1-63 if selinux-policy)
|
||||
|
||||
%ifarch aarch64
|
||||
Requires: edk2-aarch64
|
||||
|
Loading…
Reference in New Issue
Block a user