View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005878CMakeCPackpublic2007-10-12 16:402007-10-12 19:33
ReporterEric NOULARD 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005878: CPack builtin RPM Generator invalid var name
DescriptionAs 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>
TagsNo tags attached.
Attached Filespatch file icon cmake-cpack-bug5878-1erk.patch [^] (9,879 bytes) 2007-10-12 16:54 [Show Content]

 Relationships

  Notes
(0009456)
Eric NOULARD (developer)
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 (manager)
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

 Issue History
Date Modified Username Field Change
2007-10-12 16:40 Eric NOULARD New Issue
2007-10-12 16:54 Eric NOULARD File Added: cmake-cpack-bug5878-1erk.patch
2007-10-12 16:55 Eric NOULARD Note Added: 0009456
2007-10-12 19:33 Bill Hoffman Status new => closed
2007-10-12 19:33 Bill Hoffman Note Added: 0009458
2007-10-12 19:33 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team