From 588a1df835493b24d827a59c7072cb016af00aa3200f5deadea1a9704447a71e Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Thu, 13 Dec 2018 07:54:13 +0000 Subject: [PATCH] Accepting request 657727 from home:dorf:branches:Virtualization:containers - Require golang = 1.10. OBS-URL: https://build.opensuse.org/request/show/657727 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=69 --- runc.changes | 5 +++++ runc.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/runc.changes b/runc.changes index b2f7dc9..b38f8d9 100644 --- a/runc.changes +++ b/runc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 13 04:34:25 UTC 2018 - dorf@suse.com + +- Require golang = 1.10. + ------------------------------------------------------------------- Thu Nov 29 09:10:09 UTC 2018 - Aleksa Sarai diff --git a/runc.spec b/runc.spec index 6f4f099..77b5a74 100644 --- a/runc.spec +++ b/runc.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # nodebuginfo @@ -21,6 +21,8 @@ # only package released versions (unlike docker-runc). %define git_version %{nil} +# Package-wide golang version +%define go_version 1.10 %define go_tool go %define _version 1.0.0-rc6 %define project github.com/opencontainers/runc @@ -50,7 +52,7 @@ Source1: https://github.com/opencontainers/runc/releases/download/v%{_ver Source2: runc.keyring BuildRequires: fdupes BuildRequires: go-go-md2man -BuildRequires: golang(API) = 1.10 +BuildRequires: golang(API) = %{go_version} %if 0%{?with_libseccomp} BuildRequires: libseccomp-devel %endif @@ -68,7 +70,7 @@ and has grown to become a separate project entirely. Summary: Test package for runc # Make sure we require go 1.7 Group: System/Management -BuildRequires: golang(API) = 1.7 +BuildRequires: golang(API) = %{go_version} Requires: go-go-md2man Requires: libapparmor-devel %if 0%{?with_libseccomp}