From 549a74f063c8c421153c5721e1bd2d8cd6844e991b5f0cf785cb3deaeb001054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 3 Oct 2024 17:14:18 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main go1.17 revision 57178ca49b8296fd0b39b918588d60b5 --- go1.17.changes | 5 +++++ go1.17.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/go1.17.changes b/go1.17.changes index 4aa98bd..fafd9b7 100644 --- a/go1.17.changes +++ b/go1.17.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 27 11:33:15 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Apr 14 23:41:22 UTC 2023 - Jeff Kowalczyk diff --git a/go1.17.spec b/go1.17.spec index 234a472..b083503 100644 --- a/go1.17.spec +++ b/go1.17.spec @@ -230,14 +230,14 @@ Go standard library compiled to a dynamically loadable shared object libstd.so # go %setup -q -n go -%patch7 -p1 +%patch -P 7 -p1 %if %{with gccgo} # Currently gcc-go does not manage an update-alternatives entry and will # never be symlinked as "go", even if gcc-go is the only installed go toolchain. # Patch go bootstrap scripts to find hardcoded go-(gcc-go-version) e.g. go-8 # Substitute defined gcc_go_version into gcc-go.patch sed -i "s/\$gcc_go_version/%{gcc_go_version}/" $RPM_SOURCE_DIR/gcc-go.patch -%patch8 -p1 +%patch -P 8 -p1 %endif cp %{SOURCE4} .