MantisBT - CMake
View Issue Details
0013860CMakeCPackpublic2013-01-20 04:422013-11-07 02:53
Luke Benstead 
Eric NOULARD 
normalminoralways
closedfixed 
LinuxFedora18
CMake 2.8.10.2 
CMake 2.8.12 
0013860: RPMs created by CPack don't install on Fedora 18
If you generate an RPM with CPack and attempt to install it on Fedora 18, you'll get something similar to the following:

Transaction Check Error:
  file /usr from install of kazmath-devel-0.5-1.x86_64 conflicts with file from package filesystem-3.1-2.fc18.x86_64
  file /usr/include from install of kazmath-devel-0.5-1.x86_64 conflicts with file from package filesystem-3.1-2.fc18.x86_64
  file /usr/lib from install of kazmath-devel-0.5-1.x86_64 conflicts with file from package filesystem-3.1-2.fc18.x86_64

Apparently this is because the RPM version that ships in F18 is stricter about permissions, and the RPM package attempts to use different permissions for the above folders than the filesystem package.

There is a little information in this thread: http://comments.gmane.org/gmane.linux.redhat.fedora.testers/101915 [^]
No tags attached.
duplicate of 0012864closed Eric NOULARD CPackRPM additional variable CPACK_RPM_FILTER_FILELIST to remove well-known directories from %files list 
duplicate of 0013609closed Eric NOULARD RPM generator wrongly add parents directories to the package 
Issue History
2013-01-20 04:42Luke BensteadNew Issue
2013-01-20 05:51Eric NOULARDRelationship addedduplicate of 0012864
2013-04-05 06:58Eric NOULARDNote Added: 0032757
2013-04-05 06:58Eric NOULARDAssigned To => Eric NOULARD
2013-04-05 06:58Eric NOULARDStatusnew => assigned
2013-04-05 06:59Eric NOULARDNote Edited: 0032757bug_revision_view_page.php?bugnote_id=32757#r1099
2013-04-05 06:59Eric NOULARDRelationship addedduplicate of 0013609
2013-11-07 02:52Eric NOULARDNote Added: 0034407
2013-11-07 02:52Eric NOULARDStatusassigned => closed
2013-11-07 02:53Eric NOULARDResolutionopen => fixed
2013-11-07 02:53Eric NOULARDFixed in Version => CMake 2.8.12

Notes
(0032757)
Eric NOULARD   
2013-04-05 06:58   
(edited on: 2013-04-05 06:59)
fix of bug 0013609 should fix this bug as well.
Please try it.

(0034407)
Eric NOULARD   
2013-11-07 02:52   
Should be closed as sibling is closed as well.