From c335dfcbe2a772f5ebad131b917183008b734674 Mon Sep 17 00:00:00 2001 From: sagitter Date: Sun, 15 Jul 2018 19:56:12 +0200 Subject: [PATCH] Fix patch set --- petsc.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/petsc.spec b/petsc.spec index 334f8c7..361512f 100644 --- a/petsc.spec +++ b/petsc.spec @@ -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 - 3.8.3-5 +- Use unversioned directory for installing configuration files + * Tue Feb 06 2018 Antonio Trande - 3.8.3-4 - Fix pkgconfig request on rhel