From a7364c42bd25785684733d8a12683dddf98594df Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 20 Mar 2025 13:30:00 +0000 Subject: [PATCH] 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 --- openblas.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 {} \;