Fixed symlink target.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=63
This commit is contained in:
Sascha Peilicke 2011-05-21 12:30:13 +00:00 committed by Git OBS Bridge
parent 78bf6fe05e
commit c8287f1bd5

View File

@ -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