public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: Danish Prakash <danish.prakash@suse.com>,
	Max Chernoff <git@maxchernoff.ca>,
	Vit Mojzis <vmojzis@redhat.com>
Subject: [PATCH] fedora: Fix build on Fedora 43, selinux_requires_min not available on Copr builders
Date: Mon,  8 Dec 2025 11:34:27 +0100	[thread overview]
Message-ID: <20251208103427.2535279-1-sbrivio@redhat.com> (raw)

For some reason, on Copr:

  Building target platforms: aarch64
  Building for target aarch64
  error: line 42: Unknown tag: %selinux_requires_min
  Child return code was: 1

Use %selinux_requires_min starting from current Rawhide / Fedora 44,
there it works.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
I just merged this as I needed to fix Fedora 43 builds, feel free
to propose changes on top if you see a better way / have a proper
explanation.

 contrib/fedora/passt.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec
index bcbe1f7..38b06b0 100644
--- a/contrib/fedora/passt.spec
+++ b/contrib/fedora/passt.spec
@@ -37,7 +37,7 @@ requiring any capabilities or privileges.
 %package		    selinux
 BuildArch:		    noarch
 Summary:		    SELinux support for passt and pasta
-%if 0%{?fedora} >= 43
+%if 0%{?fedora} > 43
 BuildRequires:      selinux-policy-devel
 %selinux_requires_min
 %else
-- 
2.43.0


             reply	other threads:[~2025-12-08 10:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-08 10:34 Stefano Brivio [this message]
2025-12-08 10:43 ` Max Chernoff
2025-12-08 10:55   ` Stefano Brivio
2025-12-08 11:30     ` Max Chernoff
2025-12-09  0:33       ` Stefano Brivio

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=20251208103427.2535279-1-sbrivio@redhat.com \
    --to=sbrivio@redhat.com \
    --cc=danish.prakash@suse.com \
    --cc=git@maxchernoff.ca \
    --cc=passt-dev@passt.top \
    --cc=vmojzis@redhat.com \
    /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).