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