[cmake-developers] [CMake 0012608]: Unexpected %config file declaration.

Mantis Bug Tracker mantis at public.kitware.com
Tue Dec 6 05:10:50 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12608 
====================================================================== 
Reported By:                Daniel Morlock
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12608
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-12-06 05:10 EST
Last Modified:              2011-12-06 05:10 EST
====================================================================== 
Summary:                    Unexpected %config file declaration.
Description: 
By default, cmake assumes all files in CPACK_ABSOLUTE_DESTINATION_FILES and
CPACK_ABSOLUTE_DESTINATION_FILES_<COMPONENT> to be %config files. Because of
this, all files but those in CPACK_RPM_INSTALL_FILES are declared to be %config
files in the RPM specs. I'm not sure whether this is an expected behavior -  I
think all files should be considered to be normal (non-config) files and the
user should be able to define (compoment wise) which files should be assumed to
be config files.

Additional Information: 
Attached a patch which introduced CPACK_RPM_<COMPONENT>_CONFIG_FILES which
allows the user to define a list of files which should be considered as config
files. If this variable is set, all other files are assumes to be non-config
files.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-12-06 05:10 Daniel Morlock New Issue                                    
2011-12-06 05:10 Daniel Morlock File Added: cmake-2.8.6-CPackRPM.patch          
         
======================================================================




More information about the cmake-developers mailing list