From 0b526f8b1c64ed67bffe2418bf64ee3d8e14c98f Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Thu, 14 Sep 2023 11:29:30 +0200 Subject: [PATCH] containers-common-1-58.el9 - implement GPG auto updating mechanism from redhat-release - Resolves: #RHEL-3164 Signed-off-by: Jindrich Novy --- containers-common.spec | 6 +++++- update.sh | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/containers-common.spec b/containers-common.spec index e2fbdab..111aa99 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -12,7 +12,7 @@ Epoch: 2 Name: containers-common Version: 1 -Release: 57%{?dist} +Release: 58%{?dist} Summary: Common configuration and documentation for containers License: ASL 2.0 ExclusiveArch: %{go_arches} @@ -173,6 +173,10 @@ EOF %{_datadir}/rhel/secrets/* %changelog +* Thu Sep 14 2023 Jindrich Novy - 2:1-58 +- implement GPG auto updating mechanism from redhat-release +- Resolves: #RHEL-3164 + * Wed Sep 13 2023 Jindrich Novy - 2:1-57 - update GPG keys to the current content of redhat-release - Resolves: #RHEL-3164 diff --git a/update.sh b/update.sh index 5759357..64409fe 100755 --- a/update.sh +++ b/update.sh @@ -58,3 +58,10 @@ fi "keyctl",' seccomp.json [ `grep \"socket\", seccomp.json | wc -l` == 0 ] && sed -i '/\"socketcall\",/i \ "socket",' seccomp.json +rhpkg clone redhat-release +cd redhat-release +rhpkg switch-branch rhel-9.4.0 +rhpkg prep +cp -f redhat-release-*/RPM-GPG* ../ +cd - +rm -rf redhat-release