Usbguard requires selinux subpackage

- this ensures that the selinux package and all its dependencies are
  not pulled into containers and other systems that do not use SELinux

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
This commit is contained in:
Radovan Sroka 2022-03-29 10:55:18 +02:00
parent 2eb6b48d69
commit 1c3f2c8ee7
No known key found for this signature in database
GPG Key ID: F5778AD785E3581F

View File

@ -4,7 +4,7 @@
Name: usbguard
Version: 1.1.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A tool for implementing USB device usage policy
License: GPLv2+
## Not installed
@ -20,7 +20,8 @@ Requires(preun): systemd
Requires(postun): systemd
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Recommends: %{name}-selinux
Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
Obsoletes: %{name}-applet-qt < 0.7.6
BuildRequires: make
@ -227,8 +228,12 @@ fi
%selinux_relabel_post -s %{selinuxtype}
%changelog
* Tue Mar 29 2022 Radovan Sroka <rsroka@redhat.com> - 1.1.0-3
- usbguard requires selinux subpackage
- this ensures that the selinux package and all its dependencies are
not pulled into containers and other systems that do not use SELinux
* Tue Mar 15 2022 Radovan Sroka <rsroka@redhat.com> - 1.1.0-2
- selinux: allow policykit dbus comunnication
- restore support for access control filenames without a group