diff --git a/libsbml.spec b/libsbml.spec index 8f218de..7bcf0c5 100644 --- a/libsbml.spec +++ b/libsbml.spec @@ -8,21 +8,13 @@ %bcond_without r %bcond_without python3 %bcond_without python2 +%bcond_without check ## Python3.5 %if 0%{?fedora} > 23 %global with_python35 1 %endif -##On following arches tests are not built properly -%if 0%{?fedora} > 22 -%ifarch s390 s390x ppc64 ppc64le %{arm} -%bcond_with check -%else -%bcond_without check -%endif -%endif - ## Make python?_shortver macros %{!?python2_shortver: %global python2_shortver %(%{__python2} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')} %{!?python3_shortver: %global python3_shortver %(%{__python3} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')} @@ -55,7 +47,7 @@ Name: libsbml Version: 5.12.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Systems Biology Markup Language library License: LGPLv2+ @@ -390,13 +382,9 @@ export CK_FORK=no make -C build2 check %endif cd build -%ifarch ppc64 ppc64le -ctest --force-new-ctest-process -V -E "test_ruby_binding" -%endif -%ifarch %{arm} -ctest --force-new-ctest-process -V -E "test_csharp_bindings_full" -%endif -%ifnarch %{arm} ppc64 ppc64le +%ifarch ppc64 ppc64le %{arm} +ctest --force-new-ctest-process -V -E "test_ruby_binding" -E "test_csharp_bindings_full" +%else ctest --force-new-ctest-process -V -E "test_ruby_binding" %endif %endif @@ -484,6 +472,9 @@ ctest --force-new-ctest-process -V -E "test_ruby_binding" %endif %changelog +* Sat Dec 12 2015 Antonio Trande - 5.12.0-3 +- Tests enabled + * Fri Dec 11 2015 Zbigniew Jędrzejewski-Szmek - 5.12.0-2 - Try to build without clang @@ -603,3 +594,4 @@ ctest --force-new-ctest-process -V -E "test_ruby_binding" * Tue Dec 09 2014 Zbigniew Jędrzejewski-Szmek - 5.11.0-1 - Initial packaging. +