Fix patch set again

This commit is contained in:
sagitter 2018-07-15 20:23:38 +02:00
parent c335dfcbe2
commit 0db6a03855

View File

@ -369,7 +369,6 @@ 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 . -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 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}|' find src/benchmarks/streams -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
%patch0 -p0
%patch3 -p0 %patch3 -p0
popd popd
@ -380,6 +379,10 @@ pushd build64
popd popd
%endif %endif
pushd %{name}-%{version}
%patch0 -p0
popd
%if %{with openmpi} %if %{with openmpi}
cp -a %{name}-%{version} buildopenmpi_dir cp -a %{name}-%{version} buildopenmpi_dir
%endif %endif