- Added macro %go_disable_brp_strip_static_archive to disable the
strip check, it breaks on Fedora-based distros and generates a warning for SUSE-based ones. It can be removed if go binaries become really stripable OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=68
This commit is contained in:
parent
6aceb105ac
commit
55f3b2acf4
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 8 15:10:17 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Added macro %go_disable_brp_strip_static_archive to disable the
|
||||
strip check, it breaks on Fedora-based distros and generates
|
||||
a warning for SUSE-based ones. It can be removed if go binaries
|
||||
become really stripable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 8 07:59:53 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
@ -16,6 +16,9 @@
|
||||
Provides: %{name}-devel = %{version} \
|
||||
Provides: %{name}-devel-static = %{version}
|
||||
|
||||
%go_disable_brp_strip_static_archive \
|
||||
%define __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
|
||||
|
||||
%go_make gomake
|
||||
%go_make_install TARGDIR=%{buildroot}%{go_sitearch} gomake install
|
||||
%go_make_test gomake test
|
||||
|
Loading…
Reference in New Issue
Block a user