From 208be5f577bc743d15425e3a059ffbd822d7c706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Tue, 15 Feb 2022 15:48:45 +0100 Subject: [PATCH] tests: on RHEL-7, throw in epel-rpm-macros to get %{build_cflags} Unfortunately, this disqualifies the test from s390x, because there is no Epel for s390x. The test would just fail. --- tests/fedora-flags/main.fmf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/fedora-flags/main.fmf b/tests/fedora-flags/main.fmf index 0c54189..a9fcdbc 100644 --- a/tests/fedora-flags/main.fmf +++ b/tests/fedora-flags/main.fmf @@ -3,3 +3,14 @@ test: "$WITH_SCL ./test.sh" require: - annobin - redhat-rpm-config +adjust: + - because: s390x does not have epel repo which is required to provide rpm macros + enabled: false + when: >- + distro == rhel-7 + and arch == s390x + + - because: "To enable rpm macros not available by default (e.g. build_cflags), epel-rpm-macros is needed" + - require+: + - epel-rpm-macros + when: distro == rhel-7