Skip to content

Commit

Permalink
configs: Rawhide to accept GPG key from future Fedora Rawhide+1
Browse files Browse the repository at this point in the history
Fixes: #1338
  • Loading branch information
praiskup committed Mar 2, 2024
1 parent fc1f7d4 commit daf35e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mock-core-configs/etc/mock/templates/fedora-rawhide.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ user_agent={{ user_agent }}

{%- macro rawhide_gpg_keys() -%}
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary
{%- for version in [releasever|int, releasever|int - 1]
{%- for version in [releasever|int, releasever|int - 1, releasever|int + 1]
%} file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-{{ version }}-primary
{%- endfor %}
{%- endmacro %}
Expand Down
2 changes: 1 addition & 1 deletion mock-core-configs/mock-core-configs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BuildArch: noarch
Provides: mock-configs

# distribution-gpg-keys contains GPG keys used by mock configs
Requires: distribution-gpg-keys >= 1.98
Requires: distribution-gpg-keys >= 1.101
# specify minimal compatible version of mock
Requires: mock >= 5.4.post1
Requires: mock-filesystem
Expand Down
4 changes: 4 additions & 0 deletions releng/release-notes-next/fedora-rawhide-key-plus-one.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Fedora Rawhide configurations, such as releasever=41 now, accept GPG keys from
Fedora releasever+1 (for example, 42, not yet used for RPM signatures). This
change is implemented to address the typically short and unnecessary
inconvenience during [the Fedora branching process][issue#1338] in the future.

0 comments on commit daf35e8

Please sign in to comment.