Fix patch set

This commit is contained in:
sagitter 2018-07-15 19:56:12 +02:00
parent 67370d3a93
commit c335dfcbe2

View File

@ -365,6 +365,11 @@ Portable Extensible Toolkit for Scientific Computation (developer files).
%setup -q -c
pushd %{name}-%{version}
find . -name 'setup.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
find . -name 'configure' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
find config -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
find src/benchmarks/streams -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
%patch0 -p0
%patch3 -p0
popd
@ -375,14 +380,6 @@ pushd build64
popd
%endif
pushd %{name}-%{version}
find . -name 'setup.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
find . -name 'configure' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
find config -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
find src/benchmarks/streams -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
%patch0 -p0
popd
%if %{with openmpi}
cp -a %{name}-%{version} buildopenmpi_dir
%endif
@ -1082,6 +1079,9 @@ make -C buildmpich_dir test
- Exclude MPI builds on s390 archirectures if fedora < 28 only
- Patched for using Hypre-2.14.0
* Tue Feb 06 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.8.3-5
- Use unversioned directory for installing configuration files
* Tue Feb 06 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.8.3-4
- Fix pkgconfig request on rhel