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:
Richard W.M. Jones 2025-03-20 13:30:00 +00:00
parent 0f18268ef3
commit a7364c42bd

View File

@ -238,14 +238,14 @@ This package contains the static libraries.
tar zxf %{SOURCE0}
cd OpenBLAS-%{version}
%if %{with system_lapack}
%patch 0 -p1 -b .system_lapack
%patch -P 0 -p1 -b .system_lapack
%endif
%patch 1 -p1 -b .libname
%patch -P 1 -p1 -b .libname
%if 0%{?rhel} == 5
%patch 2 -p1 -b .constructor
%patch -P 2 -p1 -b .constructor
%endif
%patch 3 -p1 -b .tests
%patch 4 -p1 -b .gemm
%patch -P 3 -p1 -b .tests
%patch -P 4 -p1 -b .gemm
# Fix source permissions
find -name \*.f -exec chmod 644 {} \;