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

View: New views
6 Messages — Rating Filter:   Alert me  

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

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

Reply to Author | View Threaded | Show Only this Message

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



[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 Threaded | Show Only this Message


    [ 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



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

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

Reply to Author | View Threaded | Show Only this Message


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

Dave Whitla edited comment on MOJO-1389 at 6/16/09 9:58 AM:
------------------------------------------------------------

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

      was (Author: dwhitla):
    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



[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 Threaded | Show Only this Message


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

Brett Okken commented on MOJO-1389:
-----------------------------------

Can you send me link to the specific doc you are looking at?

> 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



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

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MOJO-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Okken closed MOJO-1389.
-----------------------------

    Resolution: Duplicate

Duplicate of MOJO-1384.
If I read your last comment correctly, then populating the --target argument correctly will resolve your issue.

> 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



[jira] Moved: (MRPM-10) targetArch property of AbstractRPMMojo is not used in writeSpecFile()

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MRPM-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Okken moved MOJO-1389 to MRPM-10:
---------------------------------------

    Component/s:     (was: rpm)
                 rpm
     Complexity:   (was: Intermediate)
            Key: MRPM-10  (was: MOJO-1389)
        Project: Mojo RPM Plugin  (was: Mojo)

> targetArch property of AbstractRPMMojo is not used in writeSpecFile()
> ---------------------------------------------------------------------
>
>                 Key: MRPM-10
>                 URL: http://jira.codehaus.org/browse/MRPM-10
>             Project: Mojo RPM Plugin
>          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