diff --git a/supermin.spec b/supermin.spec index 18e663b..ad51634 100644 --- a/supermin.spec +++ b/supermin.spec @@ -20,6 +20,10 @@ %bcond_with dietlibc %endif +# Architectures that cannot run the tests. +# armv7: https://bugzilla.redhat.com/show_bug.cgi?id=1733743 +%global no_test_arches %{arm} + # Whether we should verify tarball signature with GPGv2. %global verify_tarball_signature 1 @@ -146,6 +150,7 @@ install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_rpmconfigdir}/ %check +%ifnarch %{no_test_arches} # Skip execstack test where it is known to fail. %if 0%{?fedora} <= 20 @@ -159,6 +164,7 @@ make check || { exit 1 } +%endif %files %doc COPYING README examples/build-basic-vm.sh