[Rpm-maint] [rpm-software-management/rpm] Support for custom BuildOptions? (Discussion #3689)

Miro Hrončok notifications at github.com
Tue Sep 30 09:59:40 UTC 2025


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/14551172 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250930/3b474746/attachment.htm>


More information about the Rpm-maint mailing list