public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Subject: [PATCH v2 2/2] fedora: Add selinux-policy Requires: tag
Date: Fri, 02 Sep 2022 18:10:40 +0200	[thread overview]
Message-ID: <20220902161040.2758587-3-sbrivio@redhat.com> (raw)
In-Reply-To: <20220902161040.2758587-1-sbrivio@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

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é <berrange(a)redhat.com>
Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
---
v2: Split Requires: tags on separate lines (Daniel P. Berrangé)

 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).
-- 
@@ -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).
-- 
2.35.1


      parent reply	other threads:[~2022-09-02 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-02 16:10 [PATCH v2 0/2] Two further fixes for Fedora's spec file issues Stefano Brivio
2022-09-02 16:10 ` [PATCH v2 1/2] fedora: Add %dir entries for own SELinux policy directory and documentation Stefano Brivio
2022-09-02 16:10 ` Stefano Brivio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220902161040.2758587-3-sbrivio@redhat.com \
    --to=sbrivio@redhat.com \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).