View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009653CMakeCPackpublic2009-10-03 15:402009-10-06 14:24
ReporterDavid Moreau 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009653: [CPackRPM] %files section in spec file shall not contain all directories
DescriptionCPackRPM 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
TagsNo tags attached.
Attached Filespatch file icon CPackRPM.cmake.patch [^] (1,370 bytes) 2009-10-03 15:40 [Show Content]
? file icon CPackRPM.cmake.patch.2 [^] (1,056 bytes) 2009-10-05 04:49

 Relationships

  Notes
(0017936)
Eric NOULARD (developer)
2009-10-03 17:30

See sibling bug:
http://public.kitware.com/Bug/view.php?id=9654 [^]
(0017941)
David Moreau (reporter)
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 (developer)
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

 Issue History
Date Modified Username Field Change
2009-10-03 15:40 David Moreau New Issue
2009-10-03 15:40 David Moreau File Added: CPackRPM.cmake.patch
2009-10-03 17:30 Eric NOULARD Note Added: 0017936
2009-10-05 04:49 David Moreau File Added: CPackRPM.cmake.patch.2
2009-10-05 04:51 David Moreau Note Added: 0017941
2009-10-06 14:24 Alex Neundorf Note Added: 0017985
2009-10-06 14:24 Alex Neundorf Status new => closed
2009-10-06 14:24 Alex Neundorf Resolution open => duplicate


Copyright © 2000 - 2018 MantisBT Team