Bug ID 1139952
Summary go mistake in spec.files
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee bnc-team-screening@forge.provo.novell.com
Reporter holgerbruenjes@gmx.net
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hello

in the spec files from go1.9, go1.10, go1.11, go1.12 in the function 


[...is
# gdbinit
install -Dm644 %{SOURCE6} $GOROOT/bin/gdbinit.d/go.gdb
%if "%{_lib}" == "lib64"
sed -i "s/lib/lib64/" $GOROOT/bin/gdbinit.d/go.gdb
sed -i "s/\$go_api/%{go_api}/" $GOROOT/bin/gdbinit.d/go.gdb
%endif
...]

in this way, only when changed to lib64 the $go_api settings worked,
but the $go_api settings is allways required.  

[ ...musst
# gdbinit
install -Dm644 %{SOURCE6} $GOROOT/bin/gdbinit.d/go.gdb
%if "%{_lib}" == "lib64"
sed -i "s/lib/lib64/" $GOROOT/bin/gdbinit.d/go.gdb
%endif
sed -i "s/\$go_api/%{go_api}/" $GOROOT/bin/gdbinit.d/go.gdb
...]

Holger


You are receiving this mail because: