mojohaus / rpm-maven-plugin

http://www.mojohaus.org/rpm-maven-plugin/
Other
56 stars 48 forks source link

Feature request: support for debuginfo packge generation and attachment (%debug_package) #141

Open vindiagram opened 1 month ago

vindiagram commented 1 month ago

The rpmbuild will automatically generate a debuginfo package with binary debug symbol information given the following conditions:

Given the above is true rpmbuild will automatically generate a second rpm (subpackage) in the same directory as the primary rpm. But with -debuginfo tacted onto the name field.

At present there is no direct capability within the plugin to add the %debug_package property to the generated spec file. But it can be injected via the description field by adding a new line before the property.

I request a field be added when true will add %debug_package to the generated spec file, as well as attach the debuginfo rpm as an artifact (debuginfo could be used as a classifier).