« Return to Thread: [jira] Created: (MOJO-1389) targetArch property of AbstractRPMMojo is not used in writeSpecFile()

[jira] Commented: (MOJO-1389) targetArch property of AbstractRPMMojo is not used in writeSpecFile()

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/MOJO-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180477#action_180477 ]

Dave Whitla commented on MOJO-1389:
-----------------------------------

I see that buildPackage() does add "--target <targetArch>" to the commandline but it seems some platforms adhere rigidly to the syntax "--target=CPU-VENDOR-OS" specified in the RPM documentation.

> targetArch property of AbstractRPMMojo is not used in writeSpecFile()
> ---------------------------------------------------------------------
>
>                 Key: MOJO-1389
>                 URL: http://jira.codehaus.org/browse/MOJO-1389
>             Project: Mojo
>          Issue Type: Bug
>          Components: rpm
>            Reporter: Dave Whitla
>         Attachments: targetArch.patch
>
>
> The targetArch property of AbstractRPMMojo, while correctly set based upon the value of the needarch parameter, is not actually used when writing the specfile.
> As a result RPM defaults to using the system architecture.

--
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


 « Return to Thread: [jira] Created: (MOJO-1389) targetArch property of AbstractRPMMojo is not used in writeSpecFile()