Skip to content

Add RPM 4.20 declarative build system preamble elements#335

Merged
danigm merged 2 commits intorpm-software-management:masterfrom
mia-0:buildsystem
Oct 29, 2025
Merged

Add RPM 4.20 declarative build system preamble elements#335
danigm merged 2 commits intorpm-software-management:masterfrom
mia-0:buildsystem

Conversation

@mia-0
Copy link
Contributor

@mia-0 mia-0 commented Oct 29, 2025

Sorted near BuildRequires.

One of the neat things about this, apart from eliminating a lot of boilerplate, is that BuildOption and BuildRequires can be grouped together in conditionals.

Copy link
Member

@danigm danigm left a comment

Choose a reason for hiding this comment

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

LGTM. It could be nice to add also some tests for the declarative build system, but as a first look, this change looks good to me.

@danigm danigm merged commit f7c1132 into rpm-software-management:master Oct 29, 2025
5 checks passed
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