Inspiringly, the maven declarative build system in Fedora uses this:

```spec
BuildSystem:    maven
BuildOption:    usesJavapackagesBootstrap
BuildOption:    xmvnToolchain "openjdk25"
BuildOption:    mavenOption "-DjavaVersion=8"
BuildOption:    artifact ":plexus-cipher" {
BuildOption:        file "plexus/plexus-cipher"
BuildOption:        alias "org.sonatype.plexus:"
BuildOption:    }
```

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.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3689#discussioncomment-14551172
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

Reply via email to