[CMake] CPack RPM : support for custom user spec file and post/pre install scripts

Eric Noulard eric.noulard at gmail.com
Mon May 11 10:59:51 EDT 2009


2009/5/11 Florent Lagaye <florent.lagaye at inrialpes.fr>:
> Eric Noulard a écrit :
>>
>> Hi CPack RPM user,
>>
>> I did implement a new feature in CPack RPM generator which:
>>
>> 1) gives control of post/pre (un)install script of the RPM spec files
>> 2) supports user provided spec file.
>>
>> Any interested people should have a look at the tracker which contains
>> both a patch against CMake-2-6 branch or a drop-in replacement of
>> CPackRPM.cmake.
>>
>> http://public.kitware.com/Bug/view.php?id=8988
>>
>> ( the other previous patch:
>>  http://public.kitware.com/Bug/view.php?id=8967
>>  may be applied too, they are non-overlapping)
>>
>>
>
> Thanks Erk,
>
> This patch indeed saved my day !

Nice to ear that.

What part of the patch did you use?

a) The custom spec file
or
b ) CPACK_RPM_XXX added var?



-- 
Erk


More information about the CMake mailing list