MantisBT - CMake
View Issue Details
0009653CMakeCPackpublic2009-10-03 15:402009-10-06 14:24
David Moreau 
 
normalmajoralways
closedduplicate 
CMake-2-6 
 
0009653: [CPackRPM] %files section in spec file shall not contain all directories
CPackRPM generates a spec file with a %files sections which contains all files of the projets but also all the directories. Directories that are not part of the project should not been include in this section (can conflict with other packages).

For example, if a project is storing a script in /etc/init.d/, the RPM should looks like :
rpm -qpl test.rpm
/etc/init.d/script
and NOT
/etc
/etc/init.d/
/etc/init.d/script


A first corrective patch is included
No tags attached.
patch CPackRPM.cmake.patch (1,370) 2009-10-03 15:40
https://public.kitware.com/Bug/file/2521/CPackRPM.cmake.patch
? CPackRPM.cmake.patch.2 (1,056) 2009-10-05 04:49
https://public.kitware.com/Bug/file/2524/CPackRPM.cmake.patch.2
Issue History
2009-10-03 15:40David MoreauNew Issue
2009-10-03 15:40David MoreauFile Added: CPackRPM.cmake.patch
2009-10-03 17:30Eric NOULARDNote Added: 0017936
2009-10-05 04:49David MoreauFile Added: CPackRPM.cmake.patch.2
2009-10-05 04:51David MoreauNote Added: 0017941
2009-10-06 14:24Alex NeundorfNote Added: 0017985
2009-10-06 14:24Alex NeundorfStatusnew => closed
2009-10-06 14:24Alex NeundorfResolutionopen => duplicate

Notes
(0017936)
Eric NOULARD   
2009-10-03 17:30   
See sibling bug:
http://public.kitware.com/Bug/view.php?id=9654 [^]
(0017941)
David Moreau   
2009-10-05 04:51   
I aggree with Eric Noulard (bug 9654) about the install section which is useless.
The CPackRPM.cmake.patch.2 is sufficient.
(0017985)
Alex Neundorf   
2009-10-06 14:24   
There will be no cmake 2.6.5 release, the next one will be 2.8.0.
So I'm closing this bug, since there is also a report for 2.8, which is 0009654 .

Alex