lsm5 pushed to docker (f22). "BR: golang >= 1.4.2, remove nets_linux_amd.go for x86_64 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jun 8 16:40:12 UTC 2015


From 836c4fd5bc139d80d5ccf4fdf857738d86da2849 Mon Sep 17 00:00:00 2001
From: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date: Mon, 8 Jun 2015 16:39:04 +0000
Subject: BR: golang >= 1.4.2, remove nets_linux_amd.go for x86_64

NVR: docker-1.7.0-2.git5b82e1d

Signed-off-by: Lokesh Mandvekar <lsm5 at fedoraproject.org>

diff --git a/docker.spec b/docker.spec
index 6604c24..c145b53 100644
--- a/docker.spec
+++ b/docker.spec
@@ -62,7 +62,7 @@ Source6: %{repo}-network.sysconfig
 Source7: https://github.com/fedora-cloud/%{repo}-selinux/archive/%{ds_commit}/%{repo}-selinux-%{ds_shortcommit}.tar.gz
 %endif # with_selinux
 BuildRequires: glibc-static
-BuildRequires: golang >= 1.3.3
+BuildRequires: golang >= 1.4.2
 BuildRequires: go-md2man
 BuildRequires: device-mapper-devel
 BuildRequires: btrfs-progs-devel
@@ -278,6 +278,10 @@ sed -i 's/$/%{?dist}/' VERSION
 tar zxf %{SOURCE7}
 %endif # with_selinux
 
+%ifnarch x86_64
+rm vendor/src/github.com/vishvananda/netns/netns_linux_amd.go
+%endif
+
 %build
 # set up temporary build gopath, and put our directory there
 mkdir -p ./_build/src/github.com/%{repo}
@@ -484,6 +488,10 @@ fi
 %{_datadir}/zsh/site-functions/_%{repo}
 
 %changelog
+* Mon Jun 08 2015 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.7.0-3.git5b82e1d
+- BR golang-1.4.2 or greater
+- remove netns_linux_amd.go for x86_64
+
 * Tue Jun 02 2015 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.7.0-2.git5b82e1d
 - build docker rhatdan/fedora-1.7 commit#5b82e1d
 - build docker-selinux commit#99c4c77
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/docker.git/commit/?h=f22&id=836c4fd5bc139d80d5ccf4fdf857738d86da2849


More information about the scm-commits mailing list