Blame SOURCES/0010-test-check-container-add-support-for-fedora-rawhide.patch

66253d
From c9b56988eeee3da0b987adce79536ae4a4f2b6d0 Mon Sep 17 00:00:00 2001
66253d
From: Eric Garver <eric@garver.life>
66253d
Date: Tue, 10 Dec 2019 10:15:13 -0500
66253d
Subject: [PATCH 10/37] test: check-container: add support for fedora rawhide
66253d
66253d
(cherry picked from commit 8168904f2dd1ecdec17638854e7630f2ccc90860)
66253d
(cherry picked from commit 25f35e1c400f68f33773d162d84f9a7af8aa9938)
66253d
---
66253d
 src/tests/Makefile.am | 18 ++++++++++++++++++
66253d
 1 file changed, 18 insertions(+)
66253d
66253d
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
66253d
index 4939fb818459..cef17b6eba4b 100644
66253d
--- a/src/tests/Makefile.am
66253d
+++ b/src/tests/Makefile.am
66253d
@@ -58,7 +58,25 @@ check-container-debian-sid:
66253d
 	make && \
66253d
 	make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" "
66253d
 
66253d
+check-container-fedora-rawhide:
66253d
+	(cd $(abs_top_srcdir) && tar -c . ) | \
66253d
+	$(PODMAN) run -i --rm --privileged fedora:rawhide bash -c \
66253d
+	"mkdir -p /tmp/firewalld && cd /tmp/firewalld && tar -x && \
66253d
+	dnf -y makecache && \
66253d
+	dnf -y install autoconf automake conntrack-tools desktop-file-utils \
66253d
+	               docbook-style-xsl file gettext glib2-devel intltool ipset \
66253d
+	               iptables iptables-nft libtool libxml2 libxslt make nftables \
66253d
+	               python3-nftables python3-slip-dbus python3-gobject-base \
66253d
+	               diffutils procps-ng iproute which dbus-daemon && \
66253d
+	alternatives --set ebtables /usr/sbin/ebtables-nft && \
66253d
+	./autogen.sh && \
66253d
+	./configure PYTHON=/usr/bin/python3 && \
66253d
+	make && \
66253d
+	make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" "
66253d
+
66253d
 check-container: check-container-debian-sid
66253d
+check-container: check-container-fedora-rawhide
66253d
 
66253d
 .PHONY: check-container
66253d
 .PHONY: check-container-debian-sid
66253d
+.PHONY: check-container-fedora-rawhide
66253d
-- 
66253d
2.23.0
66253d