MantisBT - CMake
View Issue Details
0005878CMakeCPackpublic2007-10-12 16:402007-10-12 19:33
Eric NOULARD 
 
normalminoralways
closedfixed 
 
 
0005878: CPack builtin RPM Generator invalid var name
As stated there for the CPackDEB generator:
http://www.cmake.org/pipermail/cmake/2007-September/016665.html [^]

the CPack RPM generator which mainly consist in a CPackRPM.cmake file
http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM [^]

use vars which does not begin with CPACK_xxx which is an error
which prevents the proper usage in a classical CMakeLists.txt + INCLUDE(CPack)
because CPack.cmake only "export" variables which begin with CPACK_

We should rename all RPM_<whatever_var> in CPackRPM.cmake to
               CPACK_RPM_<whatever>
No tags attached.
patch cmake-cpack-bug5878-1erk.patch (9,879) 2007-10-12 16:54
https://public.kitware.com/Bug/file/1183/cmake-cpack-bug5878-1erk.patch
Issue History
2007-10-12 16:40Eric NOULARDNew Issue
2007-10-12 16:54Eric NOULARDFile Added: cmake-cpack-bug5878-1erk.patch
2007-10-12 16:55Eric NOULARDNote Added: 0009456
2007-10-12 19:33Bill HoffmanStatusnew => closed
2007-10-12 19:33Bill HoffmanNote Added: 0009458
2007-10-12 19:33Bill HoffmanResolutionopen => fixed

Notes
(0009456)
Eric NOULARD   
2007-10-12 16:55   
I've just added a patch against current CVS CMake which fix
the problem for CPack RPM builtin support.
(0009458)
Bill Hoffman   
2007-10-12 19:33   
$ cvs commit -m "BUG: fix for bug 5878" CPackRPM.cmake
Checking for path: /cvsroot/CMake/CMake/Modules
Unrestricted user: hoffman
/cvsroot/CMake/CMake/Modules/CPackRPM.cmake,v <-- CPackRPM.cmake
new revision: 1.4; previous revision: 1.3