[CMake] CPack RPM and rpm 4.6.x

Eric Noulard eric.noulard at gmail.com
Sun May 10 09:13:50 EDT 2009


2009/5/10 Eric Noulard <eric.noulard at gmail.com>:
> 2009/5/9 Alexander Neundorf <a.neundorf-work at gmx.net>:
>> On Friday 08 May 2009, Eric Noulard wrote:
>>> Hi All CPack RPM users,
>>>
>>> Problems have been reported when using CPack RPM generator with
>>> rpm/rpmbuild version greater or equal than 4.6.0.
>>> (Fedora Core 10 or greater,  Mandriva 2009 and greater, etc...)
>>>
>>> I've submitted a simple patch borrowing solution from Dmitry Gerasimov:
>>> http://public.kitware.com/Bug/view.php?id=8967
>> The patch basically adds this command line argument, right ?
>> --buildroot "${CPACK_RPM_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}"
>>
>> If you are confident enough that this is a good solution then I can commit
>> this.
>
> I'm confident it's safe however...
>
>> Can you try to find out whether this option is relatively new or whether it
>> exists since ages ?
>
> I'll check this and gives you follow-up soon.

I've just checked.
The option is there since at least (rpm 2.5.6 ~ year 1998).

Should be safe to apply the patch.
More detailed comment on the tracker:
http://public.kitware.com/Bug/view.php?id=8967


-- 
Erk


More information about the CMake mailing list