public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-repos] f45: Add %rawhide_release variable to identify GPG keys
@ 2026-08-10 9:41 Stephen Gallagher
0 siblings, 0 replies; only message in thread
From: Stephen Gallagher @ 2026-08-10 9:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedora-repos
Branch : f45
Commit : ed37c7b7c3ba1fca017702961e156bdcc79b1d2e
Author : Stephen Gallagher <sgallagh@redhat.com>
Date : 2020-10-13T16:23:49-04:00
Stats : +3/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-repos/c/ed37c7b7c3ba1fca017702961e156bdcc79b1d2e?branch=f45
Log:
Add %rawhide_release variable to identify GPG keys
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
diff --git a/fedora-repos.spec b/fedora-repos.spec
index 24a8202..9aee6a2 100644
--- a/fedora-repos.spec
+++ b/fedora-repos.spec
@@ -1,3 +1,5 @@
+%global rawhide_release 34
+
Summary: Fedora package repositories
Name: fedora-repos
Version: 34
@@ -157,7 +159,7 @@ install -m 644 %{_sourcedir}/RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
# RPM-GPG-KEY-fedora-19-{i386,x86_64} will be symlinked to that key.
pushd $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
# Also add a symlink for ELN keys
-ln -s RPM-GPG-KEY-fedora-%{version}-primary RPM-GPG-KEY-fedora-eln-primary
+ln -s RPM-GPG-KEY-fedora-%{rawhide_release}-primary RPM-GPG-KEY-fedora-eln-primary
for keyfile in RPM-GPG-KEY*; do
key=${keyfile#RPM-GPG-KEY-} # e.g. 'fedora-20-primary'
arches=$(sed -ne "s/^${key}://p" %{_sourcedir}/archmap) \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 9:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 9:41 [rpms/fedora-repos] f45: Add %rawhide_release variable to identify GPG keys Stephen Gallagher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox