]> git.pld-linux.org Git - packages/golang.git/commitdiff
tests require hostname
authorElan Ruusamäe <glen@delfi.ee>
Wed, 13 Mar 2013 13:39:50 +0000 (15:39 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 13 Mar 2013 13:40:02 +0000 (15:40 +0200)
golang.spec

index 1f4ae554224dec00b21d6373552f24eaa1a5bdc8..81a64248debd827bf5ccf70405b7287e5d2a7b74 100644 (file)
@@ -1,3 +1,9 @@
+# TODO
+# - allow disabling tests (currently bcond exists just for showing which are test deps)
+
+# Conditional build:
+%bcond_without tests   # build without tests
+
 Summary:       Go compiler and tools
 Name:          golang
 Version:       1.0.3
@@ -10,6 +16,9 @@ Source0:      http://go.googlecode.com/files/go%{version}.src.tar.gz
 BuildRequires: bison
 BuildRequires: ed
 BuildRequires: mercurial
+%if %{with tests}
+BuildRequires: hostname
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define _enable_debug_packages 0
This page took 0.365056 seconds and 4 git commands to generate.