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