From 3f91430f16ad8f7dc4648fba41c819f54cc0ec7f Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Feb 01 2024 12:49:03 +0000 Subject: bump to v1.1.12 Resolves: #2262166 - CVE-2024-21626 Signed-off-by: Lokesh Mandvekar --- diff --git a/.gitignore b/.gitignore index 43122e3..aa263a7 100644 --- a/.gitignore +++ b/.gitignore @@ -366,3 +366,4 @@ /runc-1.1.7.tar.gz /runc-1.1.8.tar.gz /runc-1.1.9.tar.gz +/runc-1.1.12.tar.gz diff --git a/runc.spec b/runc.spec index a1920a9..fee5a9a 100644 --- a/runc.spec +++ b/runc.spec @@ -16,18 +16,14 @@ %global import_path %{provider_prefix} %global git0 https://github.com/opencontainers/runc -%global built_tag v1.1.9 -%global built_tag_strip %(b=%{built_tag}; echo ${b:1}) -%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"}) - Name: %{repo} Epoch: 2 -Version: %{gen_version} +Version: 1.1.12 Release: %autorelease Summary: CLI for running Open Containers License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause and MIT URL: %{git0} -Source0: %{git0}/archive/%{built_tag}/%{name}-%{version}.tar.gz +Source0: %{git0}/archive/v%{version}/%{name}-%{version}.tar.gz ExclusiveArch: %{golang_arches_future} # If go_compiler is not set to 1, there is no virtual provide. Use golang instead. BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} @@ -69,7 +65,7 @@ in accordance with the Open Container Initiative's specifications, and to manage containers running under runc. %prep -%autosetup -p1 -n %{name}-%{built_tag_strip} +%autosetup -p1 -n %{name}-%{version} sed -i 's/ -trimpath//g' Makefile %build diff --git a/sources b/sources index 9fe3c4f..1b4c3ba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (runc-1.1.9.tar.gz) = 020986f2df49c45394d0acbfa4da62663353004550d9b4409f6cfe8369972a090fb8020e4a05342754bde5c1fbe9fcf3868faed2dceed5d54460c3373cdd2278 +SHA512 (runc-1.1.12.tar.gz) = 92e8ac54a77d7ebcc76b5a9cc08d9a064211f12e9d26f064070cc203a5afb11c3af28d8f556f297513f797a2933d50bf10a8f22e307724041d66aa8c5ca1d9d3