> And then in %conf, it parses all the options and stores them for use in other
> sections.
> This is somehow cool. However, IIRC %conf happens after
> %generate_buildrequires, so it's not an entirely usable approach for me.
Maven declaracive builds also use %generate_buildrequires and BuildOption with
implied conf specifier works fine.
Simple example here demonstrates that behavior of %generate_buildrequires can
be configured with BuildOption(conf):
https://src.fedoraproject.org/rpms/java-rpm-macros/blob/rawhide/f/macros.java-srpm
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3689#discussioncomment-14739220
You are receiving this because you are subscribed to this thread.
Message ID:
<rpm-software-management/rpm/repo-discussions/3689/comments/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint