Accepting request 1152004 from devel:languages:go
- Packaging improvements: * Use %patch -P N instead of deprecated %patchN (forwarded request 1151996 from jfkw) OBS-URL: https://build.opensuse.org/request/show/1152004 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/go1.20?expand=0&rev=18
This commit is contained in:
commit
5b07f1d160
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 05:45:13 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
- Packaging improvements:
|
||||
* Use %patch -P N instead of deprecated %patchN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 6 22:28:04 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
|
@ -233,14 +233,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} .
|
||||
|
Loading…
Reference in New Issue
Block a user