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

Brett Okken closed MRPM-66.
---------------------------

    Resolution: Fixed

> rpmbuild clearing buildroot as part of preinstall
> -------------------------------------------------
>
>                 Key: MRPM-66
>                 URL: http://jira.codehaus.org/browse/MRPM-66
>             Project: Mojo RPM Plugin
>          Issue Type: Improvement
>          Components: rpm
>    Affects Versions: 2.0, 2.0.1
>         Environment: fedora
>            Reporter: Brett Okken
>            Assignee: Brett Okken
>             Fix For: 2.1
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> Newer versions of rpm include a macro for preinstall that clears the 
> buildroot. This breaks the rpm plugin since the plugin utilizes the 
> configuration to populate the buildroot prior to calling rpmbuild.
> There is some discussion[1] on this issue and possible solutions.
> One workaround is to put '%global __spec_install_pre %{___build_pre}' in the 
> spec file. This basically overwrites whatever is in the macro. This seems 
> like a reasonable short term workaround, but not a long term solution.
> The approach they took was to populate a "temporary" build root and "mv" it 
> to the "real" buildroot as part of %install.
> [1] - http://www.itk.org/Bug/view.php?id=9872

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