[cmake-developers] [CMake 0012305]: RPM should include directories

Mantis Bug Tracker mantis at public.kitware.com
Fri Jun 24 17:05:17 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12305 
====================================================================== 
Reported By:                Davorin Učakar
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12305
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-06-24 17:05 EDT
Last Modified:              2011-06-24 17:05 EDT
====================================================================== 
Summary:                    RPM should include directories
Description: 
Issue 0009654 is not a bug, it's the correct behaviour of RPM. It should be
reverted.

If directories are not included, then
a) if you are using RPM5, all those directories are listed as dependencies and
if none of packages installed on the system explicitly includes them (which is
almost always the case), dependencies are missing and installation fails
a) if you are using RPM.org (Fedora fork, used by most distros), missing
directories are silently created on installation, but remain there after package
is uninstalled.

Directories might only be omited when those are system-wide, like /bin, /etc,
/usr/bin, /usr/share, etc. Official Fedora RPM's include all non-system-wide
directories.
Since system-wide dirs are distro-dependent, omoting them would result in
non-portable RPMs. AFAIK there's nothing wrong with including system-wide dirs
(although that's not the usual practice), so it's the safest choice.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-24 17:05 Davorin Učakar New Issue                                    
======================================================================




More information about the cmake-developers mailing list