From 7ce9fd165f4f0c85e13dcaf4ff97c53d34b4a51d Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 2 Sep 2022 18:03:57 +0200 Subject: [PATCH] fedora: Add selinux-policy Requires: tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fedora-review says: Note: Directories without known owners: /usr/share/selinux/packages/passt, /usr/share/doc/passt, /usr/share/selinux, /usr/share/selinux/packages and selinux-policy owns those two last ones. While at it, split Requires: tags also for post and preun actions onto different lines, for consistency. Reported-by: Daniel P. Berrangé Signed-off-by: Stefano Brivio --- contrib/fedora/passt.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec index ca3e8b3..bd60650 100644 --- a/contrib/fedora/passt.spec +++ b/contrib/fedora/passt.spec @@ -35,8 +35,11 @@ requiring any capabilities or privileges. BuildArch: noarch Summary: SELinux support for passt and pasta Requires: %{name} = %{version}-%{release} -Requires(post): policycoreutils, %{name} -Requires(preun): policycoreutils, %{name} +Requires: selinux-policy +Requires(post): %{name} +Requires(post): policycoreutils +Requires(preun): %{name} +Requires(preun): policycoreutils %description selinux This package adds SELinux enforcement to passt(1) and pasta(1).