Fix patch lines
Trying to push to CentOS now complains: error: %patch N no longer applies Patch0 implicitly, add 0 (or -P 0): %patch 4 -p1 -b .gemm
This commit is contained in:
parent
0f18268ef3
commit
a7364c42bd
@ -238,14 +238,14 @@ This package contains the static libraries.
|
|||||||
tar zxf %{SOURCE0}
|
tar zxf %{SOURCE0}
|
||||||
cd OpenBLAS-%{version}
|
cd OpenBLAS-%{version}
|
||||||
%if %{with system_lapack}
|
%if %{with system_lapack}
|
||||||
%patch 0 -p1 -b .system_lapack
|
%patch -P 0 -p1 -b .system_lapack
|
||||||
%endif
|
%endif
|
||||||
%patch 1 -p1 -b .libname
|
%patch -P 1 -p1 -b .libname
|
||||||
%if 0%{?rhel} == 5
|
%if 0%{?rhel} == 5
|
||||||
%patch 2 -p1 -b .constructor
|
%patch -P 2 -p1 -b .constructor
|
||||||
%endif
|
%endif
|
||||||
%patch 3 -p1 -b .tests
|
%patch -P 3 -p1 -b .tests
|
||||||
%patch 4 -p1 -b .gemm
|
%patch -P 4 -p1 -b .gemm
|
||||||
|
|
||||||
# Fix source permissions
|
# Fix source permissions
|
||||||
find -name \*.f -exec chmod 644 {} \;
|
find -name \*.f -exec chmod 644 {} \;
|
||||||
|
Loading…
Reference in New Issue
Block a user