Less useless stripping, better provides and rpmlint fix.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=17
This commit is contained in:
parent
e13dc03b92
commit
61b63f140e
@ -2,3 +2,4 @@ addFilter("binaryinfo-readelf-failed")
|
||||
addFilter("unstripped-binary-or-object")
|
||||
addFilter("devel-file-in-non-devel-package")
|
||||
addFilter("statically-linked-binary")
|
||||
addFilter("executable-stack")
|
||||
|
5
go.spec
5
go.spec
@ -28,7 +28,8 @@ BuildRequires: fdupes
|
||||
%endif
|
||||
|
||||
ExclusiveArch: %ix86 x86_64
|
||||
Provides: libcgo %{name} = %{version}
|
||||
Provides: libcgo
|
||||
Recommends: go-doc
|
||||
|
||||
%description
|
||||
Go is an expressive, concurrent, garbage collected systems programming language
|
||||
@ -82,7 +83,7 @@ export GOROOT="`pwd`"
|
||||
export GOBIN="$GOROOT/bin"
|
||||
mkdir -p "$GOBIN"
|
||||
cd src
|
||||
CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash
|
||||
STRIP=/bin/true CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash
|
||||
|
||||
%install
|
||||
export GOROOT="$RPM_BUILD_ROOT%{_libdir}/go"
|
||||
|
Loading…
Reference in New Issue
Block a user