The package rpms/gpaw.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/gpaw.git/commit/?id=0902e2103e0a6420....
Change: -%ifarch s390x
Thanks.
Full change: ============
commit 0902e2103e0a64208a258ccadb179b6fdbfbeb61 Author: Susi Lehtola jussilehtola@fedoraproject.org Date: Sun Dec 23 11:53:06 2018 +0100
Fix shebangs.
diff --git a/gpaw.spec b/gpaw.spec index fced4be..a57bfe8 100644 --- a/gpaw.spec +++ b/gpaw.spec @@ -20,7 +20,7 @@ ExcludeArch: ppc64
Name: gpaw Version: 1.4.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A grid-based real-space PAW method DFT code
License: GPLv3+ @@ -34,12 +34,7 @@ BuildRequires: libxc-devel BuildRequires: hdf5-devel BuildRequires: python2-devel BuildRequires: python-ase - -%ifarch s390x -BuildRequires: atlas-devel -%else BuildRequires: openblas-devel -%endif
%if 0%{?with_python3} BuildRequires: python3-devel @@ -346,6 +341,18 @@ PYTHON=python2%doinstall_executable popd %{_mpich_unload}
+# Fix shebangs +%if 0%{?with_python3} +for f in ${RPM_BUILD_ROOT}%{_bindir}/gpaw{,-analyse-basis,-upfplot,-runscript,-mpisim,-setup,-basis,-plot-parallel-timings}3; do + sed -i 's|^#!/usr/bin/env python3|#!%{_bindir}/python3|g' $f +done +sed -i 's|^#!/usr/bin/env gpaw-python|#!%{_bindir}/gpaw-python3|g' ${RPM_BUILD_ROOT}%{_bindir}/gpaw-runscript3 +%endif +for f in ${RPM_BUILD_ROOT}%{_bindir}/gpaw{,-analyse-basis,-upfplot,-runscript,-mpisim,-setup,-basis,-plot-parallel-timings}; do + sed -i 's|^#!/usr/bin/env python3|#!%{bindir}/python2|g' $f +done +sed -i 's|^#!/usr/bin/env gpaw-python|#!%{_bindir}/gpaw-python2|g' ${RPM_BUILD_ROOT}%{_bindir}/gpaw-runscript3 + mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
%check @@ -439,6 +446,10 @@ popd
%changelog +* Sun Dec 23 2018 Susi Lehtola jussilehtola@fedoraproject.org - 1.4.0-7 +- Switch to openblas on s390x as well. +- Fix shebangs (BZ #1661785). + * Sun Jul 15 2018 Marcin Dulak Marcin.Dulak@gmail.com - 1.4.0-6 - explicitly use python3/python2, including gpaw-pythonX
arch-excludes@lists.fedoraproject.org