From 54265a6e05324019658d4a3f05fc8aad35c0435f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Nov 09 2016 18:31:51 +0000 Subject: Do not run tests on unsupported arches --- diff --git a/libASL.spec b/libASL.spec index 89781b7..e67ac22 100644 --- a/libASL.spec +++ b/libASL.spec @@ -131,6 +131,7 @@ mv %{buildroot}%{_datadir}/%{upstream}/input %{buildroot}%{_docdir}/%{name}-exam %if 0%{?fedora} +%ifnarch aarch64 ppc64 ppc64le s390 s390x %check pushd %{_cmake_build_subdir} # Test failures @@ -138,6 +139,7 @@ pushd %{_cmake_build_subdir} ctest3 -E 'testPrivateVar|testReductionFunction' ctest3 -R 'testPrivateVar|testReductionFunction' || : %endif +%endif %post -p /sbin/ldconfig