Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
f6d66e1e61 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Feb 27 11:32:47 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
|
||||||
|
|
||||||
- Use %patch -P N instead of deprecated %patchN.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 6 15:08:50 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
Wed Sep 6 15:08:50 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||||
|
|
||||||
|
@@ -241,14 +241,14 @@ Go standard library compiled to a dynamically loadable shared object libstd.so
|
|||||||
|
|
||||||
# go
|
# go
|
||||||
%setup -q -n go
|
%setup -q -n go
|
||||||
%patch -P 7 -p1
|
%patch7 -p1
|
||||||
%if %{with gccgo}
|
%if %{with gccgo}
|
||||||
# Currently gcc-go does not manage an update-alternatives entry and will
|
# 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.
|
# 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
|
# Patch go bootstrap scripts to find hardcoded go-(gcc-go-version) e.g. go-8
|
||||||
# Substitute defined gcc_go_version into gcc-go.patch
|
# Substitute defined gcc_go_version into gcc-go.patch
|
||||||
sed -i "s/\$gcc_go_version/%{gcc_go_version}/" $RPM_SOURCE_DIR/gcc-go.patch
|
sed -i "s/\$gcc_go_version/%{gcc_go_version}/" $RPM_SOURCE_DIR/gcc-go.patch
|
||||||
%patch -P 8 -p1
|
%patch8 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
cp %{SOURCE4} .
|
cp %{SOURCE4} .
|
||||||
|
Reference in New Issue
Block a user