[kubernetes] hostname is needed in %check

Eric Paris eparis at fedoraproject.org
Thu Jan 22 00:48:13 UTC 2015


commit 96ab3a452f68f0a4b4f3bbe613f5db9a02100696
Author: Eric Paris <eparis at redhat.com>
Date:   Wed Jan 21 19:47:56 2015 -0500

    hostname is needed in %check

 kubernetes.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/kubernetes.spec b/kubernetes.spec
index 63fa7f8..0708e27 100644
--- a/kubernetes.spec
+++ b/kubernetes.spec
@@ -1,10 +1,10 @@
 #debuginfo not supported with Go
 %global debug_package	%{nil}
-%global provider        github
-%global provider_tld    com
-%global project         GoogleCloudPlatform
-%global repo            kubernetes
-%global import_path     %{provider}.%{provider_tld}/%{project}/%{repo}
+%global provider	github
+%global provider_tld	com
+%global project		GoogleCloudPlatform
+%global repo		kubernetes
+%global import_path	%{provider}.%{provider_tld}/%{project}/%{repo}
 %global commit		5b046406a957a1e7eda7c0c86dd7a89e9c94fc5f
 %global shortcommit	%(c=%{commit}; echo ${c:0:7})
 
@@ -36,6 +36,7 @@ BuildRequires:	git
 BuildRequires:	golang >= 1.2-7
 BuildRequires:	systemd
 BuildRequires:	etcd
+BuildRequires:	hostname
 
 %if 0%{?fedora}
 # needed for go cover.  Not available in RHEL/CentOS (available in Fedora/EPEL)


More information about the scm-commits mailing list