From b1de9a2e0be994974a680dc3b8ab62f587ff9b0e Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Fri, 15 Sep 2023 13:23:33 +0200 Subject: [PATCH] containers-common-1-56.el8 - implement GPG auto updating mechanism from redhat-release - Resolves: #RHEL-2110 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 e08f093..4807266 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -12,7 +12,7 @@ Epoch: 2 Name: containers-common Version: 1 -Release: 55%{?dist} +Release: 56%{?dist} Summary: Common configuration and documentation for containers License: ASL 2.0 # arch limitation because of go-md2man (missing on i686) @@ -175,6 +175,10 @@ EOF %{_datadir}/rhel/secrets/* %changelog +* Fri Sep 15 2023 Jindrich Novy - 2:1-56 +- implement GPG auto updating mechanism from redhat-release +- Resolves: #RHEL-2110 + * Wed Sep 13 2023 Jindrich Novy - 2:1-55 - 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