[CMake] [PATCH] V2 add support for component based spec header in RPM generator
Rolf Eike Beer
eike at sf-mail.de
Mon Jun 27 06:22:23 EDT 2011
[quoting repaired]
>> 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/
Eike
More information about the CMake
mailing list