Fixed symlink target.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=63
This commit is contained in:
parent
78bf6fe05e
commit
c8287f1bd5
2
go.spec
2
go.spec
@ -149,7 +149,7 @@ install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go
|
||||
|
||||
# break hard links
|
||||
rm %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/{cgocall,runtime}.h
|
||||
ln -s %{buildroot}%{_datadir}/go/src/pkg/runtime/{cgocall,runtime}.h %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/
|
||||
ln -s %{_datadir}/go/src/pkg/runtime/{cgocall,runtime}.h %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/
|
||||
|
||||
# issue #1242
|
||||
# Go binaries are supposedly DWARF compliant but brp_strip_debug breaks them
|
||||
|
Loading…
Reference in New Issue
Block a user