Add support for versioned x86_64 arches #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recently Red Hat introduced versioned x86_64 arches support in RPM:
x86_64_v2
x86_64_v3
x86_64_v4
.In terms of RPM macros they are different to
x86_64
and should be specifically mentioned in ifarch-like conditions.Hopefully, since Fedora 39 and CS10 there is
%{x86_64}
macro available:This PR adds versioned x86_64 arches support by replacing
x86_64
with%{x86_64}
where necessary.But this should be only considered if no more major efi-rpm-macros updates expected in Fedora 38 and RHEL/CS 8/9.
If they are expected then different approach is necessary.