Issue Type: Bug Bug
Affects Versions: 2.1-alpha-2
Assignee: Unassigned
Components: rpm
Created: 29/Apr/13 1:40 PM
Description:

The documentation says that "Setting this parameter is equivalent to defining the %_gpg_name macro and adding the --sign option to rpmbuild."

However, this isn't true, because that should take into account the SPEC file defineStatements. What actually happens is that rpm is executed a second time on the resulting artifact, with --addsign. This second execution does not include the defineStatements from the POM configuration.

The significance of this is especially important when one tries to override the %__gpg_sign_cmd to use the gpg-agent, as described on this blog.

There doesn't appear to be another way to get the plugin to execute rpm with --sign from the POM configuration, so that the gpg-agent can be used.

Either the documentation needs to be updated and another method provided to configure these defineStatements for the signature step, another option to use gpg-agent needs to be provided, or the execution needs to behave as documented.

Project: Mojo RPM Plugin
Priority: Major Major
Reporter: Christopher Tubbs
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to