From 0d15bd95c8e47aaabfbb47879e062e8b9ed070a6 Mon Sep 17 00:00:00 2001 From: Renbo Date: Thu, 4 Aug 2022 15:45:10 +0800 Subject: [PATCH] update to buildah-1.26.2-1.module+el8.6.0+15917+093ca6f8 Signed-off-by: Renbo --- buildah.spec | 60 +++++++++++++++++++++---------------------- download | 2 +- fix-bash-syntax.patch | 45 -------------------------------- 3 files changed, 31 insertions(+), 76 deletions(-) delete mode 100644 fix-bash-syntax.patch diff --git a/buildah.spec b/buildah.spec index da28487..9cfb8df 100644 --- a/buildah.spec +++ b/buildah.spec @@ -11,14 +11,14 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl %endif %global import_path github.com/containers/buildah -%global branch release-1.24 -%global commit0 7b559a3e7cff23f2207a36140178174d6e130a56 +#%%global branch main +%global commit0 19159983d3ecdb16df97eb4c887902363066b474 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Epoch: 1 Name: buildah -Version: 1.24.2 -Release: 4%{?dist} +Version: 1.26.2 +Release: 1%{?dist} Summary: A command line tool used for creating OCI Images License: ASL 2.0 URL: https://%{name}.io @@ -29,14 +29,13 @@ Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar %else Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz %endif -Patch0: fix-bash-syntax.patch -BuildRequires: golang >= 1.16.6 +BuildRequires: golang >= 1.17.7 BuildRequires: git BuildRequires: glib2-devel BuildRequires: libseccomp-devel BuildRequires: ostree-devel BuildRequires: glibc-static -BuildRequires: go-md2man +BuildRequires: /usr/bin/go-md2man BuildRequires: gpgme-devel BuildRequires: device-mapper-devel BuildRequires: libassuan-devel @@ -45,6 +44,10 @@ Requires: runc >= 1.0.0-26 Requires: containers-common >= 2:1-2 Recommends: container-selinux Requires: slirp4netns >= 0.3-0 +Requires: containernetworking-plugins >= 0.9.1-1 +Suggests: netavark +Requires: iptables +Requires: nftables %description The %{name} package provides a command line tool which can be used to @@ -129,35 +132,32 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install %{_datadir}/%{name}/test %changelog -* Fri Mar 25 2022 Jindrich Novy - 1:1.24.2-4 -- update to the latest content of https://github.com/containers/buildah/tree/release-1.24 - (https://github.com/containers/buildah/commit/7b559a3) -- Related: #2059296 +* Thu Jul 07 2022 Jindrich Novy - 1:1.26.2-1 +- update to https://github.com/containers/buildah/releases/tag/v1.26.2 +- Related: #2061390 -* Fri Mar 25 2022 Jindrich Novy - 1:1.24.2-3 -- switch to RHEL maintenance branch which fixes CVE-2022-27651 -- Resolves: #2067559 +* Tue Jun 07 2022 Jindrich Novy - 1:1.26.1-2 +- BuildRequires: /usr/bin/go-md2man +- Related: #2061390 -* Mon Feb 21 2022 Lokesh Mandvekar - 1:1.24.2-2 -- Add patch to fix bash symtax for gating tests -- Upstream PR: https://github.com/containers/buildah/pull/3792 -- Related: #2001445 +* Fri May 06 2022 Jindrich Novy - 1:1.26.1-1 +- update to https://github.com/containers/buildah/releases/tag/v1.26.1 +- Related: #2061390 -* Thu Feb 17 2022 Jindrich Novy - 1:1.24.2-1 -- update to https://github.com/containers/buildah/releases/tag/v1.24.2 -- Related: #2001445 +* Wed Apr 20 2022 Jindrich Novy - 1:1.25.1-2 +- bump golang BR to 1.17.7 +- Related: #2061390 -* Fri Feb 04 2022 Jindrich Novy - 1:1.24.1-1 -- update to https://github.com/containers/buildah/releases/tag/v1.24.1 -- Related: #2001445 +* Thu Mar 31 2022 Jindrich Novy - 1:1.25.1-1 +- update to https://github.com/containers/buildah/releases/tag/v1.25.1 -* Wed Feb 02 2022 Jindrich Novy - 1:1.24.0-1 -- update to https://github.com/containers/buildah/releases/tag/v1.24.0 -- Related: #2001445 +* Wed Mar 30 2022 Jindrich Novy - 1:1.25.0-1 +- update to https://github.com/containers/buildah/releases/tag/v1.25.0 +- Related: #2061390 -* Tue Jan 25 2022 Jindrich Novy - 1:1.23.2-1 -- update to the latest content of https://github.com/containers/buildah/tree/release-1.23 - (https://github.com/containers/buildah/commit/83a66a7) +* Mon Mar 07 2022 Jindrich Novy - 1:1.24.2-1 +- Add patch to fix bash symtax for gating tests +- Upstream PR: https://github.com/containers/buildah/pull/3792 - Related: #2001445 * Mon Nov 22 2021 Jindrich Novy - 1:1.23.1-3 diff --git a/download b/download index 472a5f9..1b6e232 100644 --- a/download +++ b/download @@ -1 +1 @@ -4369c3be3f10368457e262e55fc41483 release-1.24-7b559a3.tar.gz +a9d54edc39b1e27c531dd8ee6662981c buildah-1.26.2-1915998.tar.gz diff --git a/fix-bash-syntax.patch b/fix-bash-syntax.patch deleted file mode 100644 index e508848..0000000 --- a/fix-bash-syntax.patch +++ /dev/null @@ -1,45 +0,0 @@ -From eedab4fd872c3be8ab15af767897f92c78a71fde Mon Sep 17 00:00:00 2001 -From: Lokesh Mandvekar -Date: Mon, 21 Feb 2022 14:58:40 -0500 -Subject: [PATCH] helpers.bash: Use correct syntax - -Fixes gating test failure: -``` - /usr/share/buildah/test/system/./helpers.bash: line 474: !is_cgroupsv2: command not found - ``` - -Co-authored-by: Yiqiao Pu - -I'm just the committer. - -Signed-off-by: Lokesh Mandvekar ---- - tests/helpers.bash | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/tests/helpers.bash b/tests/helpers.bash -index bd2794c974..3e72108bec 100644 ---- a/tests/helpers.bash -+++ b/tests/helpers.bash -@@ -433,9 +433,9 @@ function skip_if_rootless() { - ################################## - function skip_if_rootless_and_cgroupv1() { - if test "$BUILDAH_ISOLATION" = "rootless"; then -- if !is_cgroupsv2; then -- skip "${1:-test does not work when \$BUILDAH_ISOLATION = rootless} and not cgroupv2" -- fi -+ if ! is_cgroupsv2; then -+ skip "${1:-test does not work when \$BUILDAH_ISOLATION = rootless} and not cgroupv2" -+ fi - fi - } - -@@ -471,7 +471,7 @@ function skip_if_cgroupsv2() { - # skip_if_cgroupsv1 # Some tests don't work with cgroupsv1 - ####################### - function skip_if_cgroupsv1() { -- if !is_cgroupsv2; then -+ if ! is_cgroupsv2; then - skip "${1:-test does not work with cgroups v1}" - fi - } -- Gitee