diff --git a/openblas.spec b/openblas.spec index 57d682a..737d099 100644 --- a/openblas.spec +++ b/openblas.spec @@ -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 {} \;