[cmake-developers] [CMake 0013609]: RPM generator wrongly add parents directories to the package

Mantis Bug Tracker mantis at public.kitware.com
Fri Oct 26 08:55:52 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13609 
====================================================================== 
Reported By:                barth
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13609
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2012-10-26 14:55 CEST
Last Modified:              2012-10-26 14:55 CEST
====================================================================== 
Summary:                    RPM generator wrongly add parents directories to the
package
Description: 
When an install instruction is added such as : 
install(FILES xxx.conf DESTINATION /etc/httpd/conf.d)

then the section %files in the generated spec file contains : 
%dir "/etc"
%dir "/etc/httpd"
%dir "/etc/httpd/conf.d"

It is wrong as the RPM must not own system directories. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-26 14:55 barth          New Issue                                    
======================================================================




More information about the cmake-developers mailing list