[packages/golang] disable broken test; cleanup deps; add todo

glen glen at pld-linux.org
Wed Mar 13 15:28:32 CET 2013


commit 30cbf052529a8e6ef229fac120d40c33a36d76e5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Mar 13 16:27:13 2013 +0200

    disable broken test; cleanup deps; add todo
    
    - mercurial may be superfluous !
    - error: Couldn't exec /usr/lib/rpm/pythoneggs.py: No such file or directory

 golang.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/golang.spec b/golang.spec
index 8381cf4..d0bd612 100644
--- a/golang.spec
+++ b/golang.spec
@@ -1,8 +1,11 @@
 # TODO
 # - allow disabling tests (currently bcond exists just for showing which are test deps)
+# - add verbose build output (currently dummy bcond)
+# - setup GOMAXPROCS=2 from _smp_mflags
 
 # Conditional build:
 %bcond_without	tests	# build without tests
+%bcond_without	verbose	# verbose build (V=1)
 
 Summary:	Go compiler and tools
 Name:		golang
@@ -15,7 +18,7 @@ Source0:	http://go.googlecode.com/files/go%{version}.src.tar.gz
 # Source0-md5:	31acddba58b4592242a3c3c16165866b
 BuildRequires:	bison
 BuildRequires:	ed
-BuildRequires:	mercurial
+BuildRequires:	rpm-pythonprov
 %if %{with tests}
 BuildRequires:	hostname
 %endif
@@ -64,6 +67,9 @@ Go mode for Emacs.
 %prep
 %setup -q -n go
 
+# broken tests
+rm src/pkg/net/multicast_test.go
+
 %build
 GOSRC=$(pwd)
 GOROOT=$(pwd)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/30cbf052529a8e6ef229fac120d40c33a36d76e5



More information about the pld-cvs-commit mailing list