[CMake] [PATCH] V2 add support for component based spec header in RPM generator

Eric Noulard eric.noulard at gmail.com
Mon Jun 27 07:07:12 EDT 2011


2011/6/27 Koecher, Rene <Rene.Koecher at wincor-nixdorf.com>:
> Hi,
>
>>>> Hi,
>>>> while making excessive use of the RPM generator in CMake 2.8.5 I came
>>>> across a requirement
>>>> it could not match out of the box: per-component spec headers.
>>>> As it is it seems not to be possible to add to or replace spec-file
>>>> headers on a
>>>> component basis. The Patch below will add this support to CPackRPM.cmake
>>>> for CMake 2.8.5.
>>>> Headers may be defined by setting CPACK_RPM_COMPONENT_<name>_<header>.
>>
>>> Small update - TMP_RPM_* fields need to be reset for different components
>>> or they'll add up.
>>
>> Please clone the CMake git and do a local commit of the final version of
>> your patch with a nice changelog. Then do "git format-patch -1" and attach
>> the resulting file to a new feature request at http://www.cmake.org/Bug/
>
> Sure, I'll do that - thanks.
> Is there an "official" guide for the process?
> I was only able to finde the cmake-list on the kitware homepage but maybe
> I wasn't looking hard enough.


Not really written anywhere but that would be nice page to add to the wiki.
That said Eike is perfectly right with the process:

1) format patch
2) create a feature request / bug report on http://www.cmake.org/Bug/

Usually 0) would be to check the bug tracker for any already existing
entry regarding
the issue and/or try with CMake git master branch in order to be up-to-date.

You already did that.by using 2.8.5 current rc.



-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list