diff --git a/python-pypet.spec b/python-pypet.spec index 7108db9..7df3e56 100644 --- a/python-pypet.spec +++ b/python-pypet.spec @@ -15,7 +15,7 @@ of your simulations and analyses becomes a piece of cake!} Name: python-%{pypi_name} Version: 0.5.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Parameter exploration toolbox License: BSD @@ -85,7 +85,7 @@ rm -rf doc/build/html/{.doctrees,.buildinfo} -vf # https://github.com/SmokinCaterpillar/pypet/issues/56 %if %{with tests} # Memory issues on s390x: OverflowError: Python int too large to convert to C int -%if "%{_build_arch}" == "s390x" +%if "%{_host_cpu}" == "s390x" echo "Skip tests on s390x" %else PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} pypet/tests/all_single_core_tests.py @@ -103,6 +103,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} pypet/tests/all_single_co %doc doc/build/html examples/ %changelog +* Sat May 22 2021 Ankur Sinha - 0.5.1-3 +- Correctly detect host builder cpu + * Sat May 22 2021 Ankur Sinha - 0.5.1-2 - Use correct macro for build arch