diff --git a/go-20101208.tar.bz2 b/go-20101208.tar.bz2 deleted file mode 100644 index 454e608..0000000 --- a/go-20101208.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5e3b27b3a61a556426262c85b05d2ac9e29264d3ae17e85011c6f72cfde9f73 -size 5617605 diff --git a/go-20110120.tar.bz2 b/go-20110120.tar.bz2 new file mode 100644 index 0000000..acf7513 --- /dev/null +++ b/go-20110120.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd64aab8885249fdb7d3ad996481d7402dc1e349d0274f0339749554e1ca2f26 +size 5618396 diff --git a/go-rpmlintrc b/go-rpmlintrc index a16e042..f50f72a 100644 --- a/go-rpmlintrc +++ b/go-rpmlintrc @@ -1,5 +1,4 @@ addFilter("binaryinfo-readelf-failed") addFilter("devel-file-in-non-devel-package") addFilter("statically-linked-binary") -addFilter("executable-stack") -addFilter("no-soname") +addFilter("executable-stack") \ No newline at end of file diff --git a/go.changes b/go.changes index ef567fd..5250ed4 100644 --- a/go.changes +++ b/go.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 1 11:31:23 UTC 2011 - graham@andtech.eu + +- Updated to release 20/01/2011 +- run full test suite (without net dependant tests) +- remove redundant libcgo.so from .spec + ------------------------------------------------------------------- Wed Dec 8 16:26:27 UTC 2010 - saschpe@suse.de diff --git a/go.spec b/go.spec index 78478f9..4151fff 100644 --- a/go.spec +++ b/go.spec @@ -10,7 +10,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -%define pkg_release 20101208 +%define pkg_release 20110120 %ifarch %ix86 %define go_os_arch linux_386 %endif @@ -102,7 +102,14 @@ export GOROOT="`pwd`" export GOBIN="$GOROOT/bin" mkdir -p "$GOBIN" cd src -STRIP=/bin/true CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash +# disable syslog test in chroot environment +sed 's/NOTEST+=http/NOTEST+=http syslog/g' $GOROOT/src/pkg/Makefile > $GOROOT/src/pkg/make.tmp +mv $GOROOT/src/pkg/make.tmp $GOROOT/src/pkg/Makefile +# remove computer lang benchmark tests from run.bash +sed '114,119d' $GOROOT/src/run.bash > $GOROOT/src/run.tmp +mv $GOROOT/src/run.tmp $GOROOT/src/run.bash +# disable net tests and run full test suite +DISABLE_NET_TESTS=1 STRIP=/bin/true CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" ./all.bash %install export GOROOT="$RPM_BUILD_ROOT%{_libdir}/%{name}" @@ -120,10 +127,8 @@ mkdir -p $GOROOT/src install -m644 src/Make.{ccmd,clib,cmd,common,inc,pkg} $GOROOT/src install -Dm644 lib/{lib9.a,libbio.a,libmach.a} $RPM_BUILD_ROOT%{_libdir} -install -Dm755 pkg/%{go_os_arch}/libcgo.so $RPM_BUILD_ROOT%{_libdir} cp -r lib/godoc $GOROOT/lib cp -r pkg $GOROOT -rm $GOROOT/pkg/%{go_os_arch}/libcgo.so # already found in _libdir # documentation mkdir -p doc/examples @@ -131,6 +136,8 @@ mv doc/{prog.sh,makehtml,progs} doc/examples mv misc/cgo doc/examples chmod 644 doc/codelab/wiki/test.sh +# no rpath check on bin/govet +export NO_BRP_CHECK_RPATH=true %clean rm -rf $RPM_BUILD_ROOT @@ -140,7 +147,6 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/go %{_libdir}/lib9.a %{_libdir}/libbio.a -%{_libdir}/libcgo.so %{_libdir}/libmach.a %ifarch %ix86 %{_bindir}/8*