[ 
http://jira.codehaus.org/browse/MRPM-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195300#action_195300
 ] 

Alessio Signorini commented on MRPM-36:
---------------------------------------

Thanks Brett.

Unfortunately, everything in the integration-tests works also on my side.

It is the <prepareScriptlet> that I cannot make to work. It does not appear in 
any of the integration-tests (they were the first thing I looked at).

It logs nothing during RPM build nor add the %prep to the .SPEC file.

Do you know what is wrong?

> Unable to add %prep into rpm spec file
> --------------------------------------
>
>                 Key: MRPM-36
>                 URL: http://jira.codehaus.org/browse/MRPM-36
>             Project: Mojo RPM Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-3
>            Reporter: Ron Quartel
>            Assignee: Brett Okken
>             Fix For: 2.0-beta-4
>
>
> There is support for preinstall, clean, postinstall, preremove and  
> postremove scripts, but none for a %prep script.
> To get around this I had to use a dirty hack of putting the prep script in 
> the description tag i.e.
> <description>My Description went here.
> %prep
> %define _use_internal_dependency_generator 0
> cat &lt;&lt;EOF > %{_builddir}/mycomp-requires-%{release}
> #!/bin/bash
> exec `rpm --eval '%%{__find_requires}'` | grep -Ev 
> 'libICE|libSM|libX|libgdk|libgtk|libgmodule|runscript|libnspr|libodbc|libasound|libjava_crw_demo_g'
> EOF
> %define __find_requires %{_builddir}/mycomp-requires-%{release}
> chmod +x %{__find_requires}
> </description>
> Please can you fix /  add support for a prep script?

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