[
http://jira.codehaus.org/browse/MRPM-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227713#action_227713
]
Brett Okken commented on MRPM-79:
---------------------------------
What version of rpm and os are you using?
Can you attach the output of your execution in debug (i.e. mvn -X)?
The plugin is currently passing the rpmbuild command the --target option which
includes the target architecture and os (and vendor). This is working correctly
on both ubuntu and red hat (as 4 and 5).
> BuildArch is not included in generated .spec file
> -------------------------------------------------
>
> Key: MRPM-79
> URL: http://jira.codehaus.org/browse/MRPM-79
> Project: Mojo RPM Plugin
> Issue Type: Bug
> Components: rpm
> Affects Versions: 2.1-alpha-1
> Reporter: Mark Derricutt
> Assignee: Brett Okken
> Priority: Minor
> Attachments: rpm-buildarch.patch
>
>
> The generated spec file doesn't include a BuildArch: directive so it always
> seems to build an i386 RPM rather than a noarch.
> Attached a patch to simply add the BuildArch declaration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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