Accepting request 291546 from home:MargueriteSu:branches:devel:languages:go

OBS-URL: https://build.opensuse.org/request/show/291546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=208
This commit is contained in:
Marguerite Su 2015-03-19 10:21:17 +00:00 committed by Git OBS Bridge
parent 0a5c2968c8
commit 5c0468211b
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 19 09:58:09 UTC 2015 - i@marguerite.su
- remove redefinition of os_install_post macro, which was used to
override brp-strip-static-archive that has been manually removed
from openSUSE distribution since 2011.05.
- This might fix i586 builds for openSUSE:Factory:
* Too many levels of recursion in macro expansion
* Failed to write file: invalid section alignment
-------------------------------------------------------------------
Sat Mar 7 15:24:29 UTC 2015 - i@marguerite.su

View File

@ -71,8 +71,8 @@ Provides: go-devel = %{name}%{version}
Provides: go-devel-static = %{name}%{version}
Obsoletes: go-devel < %{name}%{version}
# go-vim/emacs were separate projects starting from 1.4
Obsoletes: go-vim <= 1.3.3
Obsoletes: go-emacs <= 1.3.3
Obsoletes: go-emacs <= 1.3.3
Obsoletes: go-vim <= 1.3.3
ExclusiveArch: %ix86 x86_64 %arm
%description
@ -184,9 +184,6 @@ rm %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/{textflag,funcdata,cgocall,run
ln -s %{_datadir}/go/src/cmd/ld/textflag.h %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}
ln -s %{_datadir}/go/src/runtime/{runtime,cgocall,funcdata}.h %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}
# Disable brp-strip-static-archive breaks build
%define __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
%if 0%{?suse_version} >= 1100
%fdupes %{buildroot}%{_prefix}
%endif