SHA256
1
0
forked from pool/runc

Accepting request 699412 from home:cyphar:runc

- Upgrade to runc v1.0.0~rc8. Upstream changelog is available from
  https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc8
- Includes upstreamed patches for regressions (bsc#1131314 bsc#1131553).
- Remove upstreamed patches:
  - CVE-2019-5736.patch

OBS-URL: https://build.opensuse.org/request/show/699412
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=74
This commit is contained in:
2019-04-29 12:05:18 +00:00
committed by Git OBS Bridge
parent 68bddaf3ee
commit 67c52ee2aa
7 changed files with 31 additions and 364 deletions

View File

@@ -24,7 +24,7 @@
# Package-wide golang version
%define go_version 1.10
%define go_tool go
%define _version 1.0.0-rc6
%define _version 1.0.0-rc8
%define project github.com/opencontainers/runc
# enable libseccomp for sle >= sle12sp2
@@ -41,7 +41,7 @@
%endif
Name: runc
Version: 1.0.0~rc6
Version: 1.0.0~rc8
Release: 0
Summary: Tool for spawning and running OCI containers
License: Apache-2.0
@@ -50,8 +50,6 @@ Url: https://github.com/opencontainers/runc
Source0: https://github.com/opencontainers/runc/releases/download/v%{_version}/runc.tar.xz#/runc-%{_version}.tar.xz
Source1: https://github.com/opencontainers/runc/releases/download/v%{_version}/runc.tar.xz.asc#/runc-%{_version}.tar.xz.asc
Source2: runc.keyring
# FIX-UPSTREAM: Fix for CVE-2019-5736. bsc#1121967
Patch: CVE-2019-5736.patch
BuildRequires: fdupes
BuildRequires: go-go-md2man
BuildRequires: golang(API) = %{go_version}
@@ -60,7 +58,6 @@ BuildRequires: libseccomp-devel
%endif
BuildRequires: libselinux-devel
Recommends: criu
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
runc is a CLI tool for spawning and running containers according to the OCI
@@ -87,8 +84,6 @@ Test package for runc. It contains the source code and the tests.
%prep
%setup -q -n %{name}-%{_version}
# CVE-2019-5736 bsc#1121967
%patch -p1
%build
# Do not use symlinks. If you want to run the unit tests for this package at