refactor: adjust azurelinux macro (major version only)#17215
Conversation
ae5e1cd to
ea8f94e
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates Azure Linux RPM distribution macros so %azurelinux represents only the major version and removes the %azl4 macro, with an OpenSSL overlay adjusted to use %azurelinux detection instead.
Changes:
- Changes
azurelinux-releasemacros.dist generation from%azurelinux 4.0plus%azl4to%azurelinux 4. - Updates OpenSSL overlay/rendered spec conditionals to use
%{defined azurelinux}. - Refreshes related lock fingerprints and rendered OpenSSL release output.
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
base/comps/azurelinux-release/azurelinux-release.spec |
Source spec change for generated RPM macros. |
specs/a/azurelinux-release/azurelinux-release.spec |
Rendered spec reflecting the macro definition change. |
base/comps/openssl/openssl.comp.toml |
Updates OpenSSL overlay conditions/descriptions to use Azure Linux macro detection. |
specs/o/openssl/openssl.spec |
Rendered OpenSSL spec with updated conditionals and release bump. |
locks/azurelinux-release.lock |
Refreshes azurelinux-release component fingerprint. |
locks/openssl.lock |
Refreshes OpenSSL component fingerprint. |
ddstreetmicrosoft
left a comment
There was a problem hiding this comment.
issue: looks like the azurelinux-release package needs a release bump
Oof, I've gotten spoiled on autorelease specs; thanks for catching it. I'll fix that. (We should enable autorelease, but in a separate change.) |
ea8f94e to
63ba18a
Compare
ddstreetmicrosoft
left a comment
There was a problem hiding this comment.
Looks ok other than removing %azl4, are you sure we should really remove it?
63ba18a to
50e7ad1
Compare
For consistency with other distros' macros, we change the definition of the azurelinux macro only to include major version (i.e. 4). A change is also made to openssl to use azurelinux instead of azl4.
50e7ad1 to
bb943ef
Compare
For consistency with other distros' macros, we:
A compensating change is made to openssl.
--
Fixes: AB#19815