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

Chris Ryan commented on MOJO-972:
---------------------------------

I have a fix for this (http://jira.codehaus.org/browse/MOJO-1125).  

Under <configuaration> you can add a <targetArch> element:

<configuration>
  ...
  <targetArch>x86_64</targetArch>
...

Also, each source element can be filtered by arch as well, like so:

...
                <source>
                  <location>src/main/native/x86_64</location>
                  <targetArch>x86_64</targetArch>
                </source>
                <source>
                  <location>src/main/native/i586</location>
                  <targetArch>i586</targetArch>
                </source>
...

This can be useful if you set a property for your targetArch (e.g.  
<targetArch>${target_arch}</targetArch>) and then pass the value in during 
build time.


> the maven-rpm-plugin should allow users to specify the target architecure.  
> needsarch is insufficient.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MOJO-972
>                 URL: http://jira.codehaus.org/browse/MOJO-972
>             Project: Mojo
>          Issue Type: New Feature
>          Components: rpm
>            Reporter: Brandon Enochs
>            Priority: Critical
>
> the maven-rpm-plugin should allow users to specify the target architecure.  
> needsarch is insufficient.

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


Reply via email to