The package rpms/petsc4py.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/petsc4py.git/commit/?id=3d2426cd7626....
Change: +%ifnarch %{power64}
Thanks.
Full change: ============
commit 3d2426cd762674f2151f95d83efa1bdb769b8676 Author: sagitter sagitter@fedoraproject.org Date: Sun Mar 8 21:51:01 2020 +0100
Do not perform any tests with Python3.8 (upstream bug #136)
diff --git a/petsc4py.spec b/petsc4py.spec index f8ccafc..a9fb93c 100644 --- a/petsc4py.spec +++ b/petsc4py.spec @@ -18,17 +18,12 @@ BuildRequires: %{?dts}gcc-gfortran %global with_mpich 1 %global with_openmpi 1
-# Enable for Python-3.8 -%if 0%{?python3_version_nodots} == 38 -%global with_python38 1 -%endif - %global petscver 3.12.0 %global pypi_name petsc4py
Name: %{pypi_name} Version: 3.12.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for MPI PETSc License: BSD URL: https://bitbucket.org/petsc/%%7Bpypi_name%7D @@ -252,11 +247,6 @@ export PETSC_DIR=%{_prefix} %py2_build %endif %if 0%{?with_python3} - -# regenerate the C sources (python 3.8) -%if 0%{?with_python38} -%{__python3} conf/cythonize.py -%endif %py3_build
%if 0%{?with_python3_other} @@ -281,11 +271,6 @@ export PETSC_DIR=%{_prefix} %py2_build %endif %if 0%{?with_python3} - -# regenerate the C sources (python 3.8) -%if 0%{?with_python38} -%{__python3} conf/cythonize.py -%endif %py3_build
%if 0%{?with_python3_other} @@ -424,9 +409,12 @@ export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON2_SITEARCH %if 0%{?rhel} MPI_PYTHON3_SITEARCH=%{python3_sitearch}/openmpi %endif - -%if 0%{?fedora} < 31 -export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON3_SITEARCH +%if 0%{?python3_version_nodots} == 38 +%ifnarch %{power64} +%{__python3} setup.py test +%endif +%endif +%if 0%{?python3_version_nodots} != 38 %{__python3} setup.py test %endif
@@ -458,7 +446,14 @@ export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON2_SITEARCH MPI_PYTHON3_SITEARCH=%{python3_sitearch}/mpich %endif export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON3_SITEARCH +%if 0%{?python3_version_nodots} == 38 +%ifnarch %{power64} %{__python3} setup.py test +%endif +%endif +%if 0%{?python3_version_nodots} != 38 +%{__python3} setup.py test +%endif
%if 0%{?with_python3_other} export PYTHONPATH=$RPM_BUILD_ROOT%{python3_other_sitearch}/mpich @@ -528,6 +523,9 @@ popd %endif
%changelog +* Sun Mar 08 2020 Antonio Trande sagitter@fedoraproject.org - 3.12.0-6 +- Do not perform any tests with Python3.8 (upstream bug #136) + * Thu Jan 30 2020 Fedora Release Engineering releng@fedoraproject.org - 3.12.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild