fix: update azurelinux-rpm-config and rpm tomls #15752
Draft
+12
−10
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.
This PR fixes a few issues in azurelinux-rpm-config and rpm tomls:
Azure Linux branding and compatibility:
{fedora,redhat} -> azurelinuxglobal search-and-replace operation is positioned appropriately in the overlay list for clarity and correct application order inazurelinux-rpm-config.comp.toml. This fixes the issue that redhat-rpm-config was found in image packages file and incorrectly added in components.toml.With the above change, I found 2 errors while building rpm package:
./base/build/work/rpm/2026-02-06.181213/rpm-build-*/build.log:__pycache__folder is not found which should be generated with Python 3.14. I had to remove the reference to__pycache__in the Python 3 RPM files section.In rpm.spec, The
%installsection installs the doc files to/usr/share/doc/rpm, but the%docdirective tries to copy them again from source, creating duplicates. So I removed a doc line to fix it.Repro of rpm build issue:
Build packages locally only with commit: 27d1742