Skip to content

refactor(azurelinux-release): adopt rpmautospec - #18440

Draft
Tobias Brick (tobiasb-ms) wants to merge 1 commit into
4.0from
tobiasb-ms/azurelinux-release-rpmautospec
Draft

refactor(azurelinux-release): adopt rpmautospec#18440
Tobias Brick (tobiasb-ms) wants to merge 1 commit into
4.0from
tobiasb-ms/azurelinux-release-rpmautospec

Conversation

@tobiasb-ms

Copy link
Copy Markdown
Contributor

Summary

  • replace the manually maintained Release and %changelog with %autorelease and %autochangelog
  • preserve releases 2-11 in the legacy changelog file while deriving subsequent entries from component history
  • use %autorelease -b 11 to preserve release-number continuity, producing 4.0-25 for this change

Testing

  • built azurelinux-release successfully with azldev comp build -p azurelinux-release
  • installed and inspected the generated 4.0-25 RPMs in a mock chroot
  • completed a successful build-server build

Preserve the existing package history while deriving future release and changelog entries from component commits.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ba5f8625-80e3-4137-9482-a9bc582c9e99
Copilot AI balanced review requested due to automatic review settings August 14, 2026 18:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adopts rpmautospec for azurelinux-release while preserving historical changelog entries and release-number continuity.

Changes:

  • Replaces manual release/changelog maintenance with %autorelease -b 11 and %autochangelog.
  • Preserves releases 2–11 in a legacy changelog.
  • Refreshes the component lock and rendered spec, producing release 4.0-25.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
base/comps/azurelinux-release/azurelinux-release.comp.toml Restores automatic release detection.
base/comps/azurelinux-release/azurelinux-release.spec Adopts rpmautospec macros.
base/comps/azurelinux-release/changelog Preserves legacy releases 2–11.
locks/azurelinux-release.lock Updates the input fingerprint.
specs/a/azurelinux-release/azurelinux-release.spec Records regenerated release and changelog output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants