public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] spec: use %selinux_requires macro, drop overlapping dependencies
@ 2025-11-13  7:22 Danish Prakash
  2025-11-13  9:47 ` Max Chernoff
  0 siblings, 1 reply; 9+ messages in thread
From: Danish Prakash @ 2025-11-13  7:22 UTC (permalink / raw)
  To: passt-dev; +Cc: sbrivio, git, pholzing, Danish Prakash

Also, drop unused preun policycoreutils requires.

Signed-off-by: Danish Prakash <contact@danishpraka.sh>
---
 contrib/fedora/passt.spec | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec
index d1bcf4a74338..cab2bb4c409b 100644
--- a/contrib/fedora/passt.spec
+++ b/contrib/fedora/passt.spec
@@ -34,19 +34,15 @@ for network namespaces: traffic is forwarded using a tap interface inside the
 namespace, without the need to create further interfaces on the host, hence not
 requiring any capabilities or privileges.
 
-%package		selinux
-BuildArch:		noarch
-Summary:		SELinux support for passt and pasta
-Requires:		selinux-policy-%{selinuxtype}
-Requires:		container-selinux
-Requires(post):		selinux-policy-%{selinuxtype}
+%package		    selinux
+BuildArch:		    noarch
+Summary:		    SELinux support for passt and pasta
+%selinux_requires
+Requires:		    container-selinux
+Requires:		    selinux-policy-%{selinuxtype}
 Requires(post):		container-selinux
-Requires(post):		policycoreutils
-Requires(post):		libselinux-utils
-Requires(preun):	policycoreutils
-BuildRequires:		selinux-policy-devel
-BuildRequires:		pkgconfig(systemd)
-Recommends:		selinux-policy-%{selinuxtype} >= %{selinux_policy_version}
+Requires(post):		selinux-policy-%{selinuxtype}
+Recommends:		    selinux-policy-%{selinuxtype} >= %{selinux_policy_version}
 
 %description selinux
 This package adds SELinux enforcement to passt(1), pasta(1), passt-repair(1).
-- 
2.51.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-08 10:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-13  7:22 [PATCH] spec: use %selinux_requires macro, drop overlapping dependencies Danish Prakash
2025-11-13  9:47 ` Max Chernoff
2025-11-13 11:10   ` Stefano Brivio
2025-11-13 12:04     ` Vit Mojzis
2025-11-21 12:33       ` Danish Prakash
2025-11-21 12:47       ` [PATCH v2] spec: use %selinux_requires_min " Danish Prakash
2025-11-23  7:37         ` Max Chernoff
2025-11-27 22:33           ` Stefano Brivio
2025-12-08 10:37           ` Stefano Brivio

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