MantisBT - CMake
View Issue Details
0012468CMake(No Category)public2011-09-19 14:262012-02-06 06:07
Chip Christian 
Brad King 
normalminoralways
closedduplicate 
x86_64LinuxRHEL 6.1
CMake 2.8.5 
CMake 2.8.6 
0012468: Package naming with COMPONENTS is broken
The packages all wind up with the same name unless you apply the patch I supply below...
--- /usr/share/cmake/Modules/CPackRPM.cmake 2011-07-08 07:21:44.000000000 -0500
+++ cmake/CPackRPM.cmake 2011-09-01 02:30:04.213626332 -0500
@@ -569,7 +569,7 @@
       "# -*- rpm-spec -*-
 BuildRoot: \@CPACK_RPM_DIRECTORY\@/\@CPACK_PACKAGE_FILE_NAME\@\@CPACK_RPM_PACKAGE_COMPONENT_PART_PATH\@
 Summary: \@CPACK_RPM_PACKAGE_SUMMARY\@
-Name: \@CPACK_RPM_PACKAGE_NAME\@
+Name: \@CPACK_RPM_PACKAGE_NAME\@\@CPACK_RPM_PACKAGE_COMPONENT_PART_NAME\@
 Version: \@CPACK_RPM_PACKAGE_VERSION\@
 Release: \@CPACK_RPM_PACKAGE_RELEASE\@
 License: \@CPACK_RPM_PACKAGE_LICENSE\@
No tags attached.
duplicate of 0012366closed Eric NOULARD when using different components RPM packages have the same package name 
Issue History
2011-09-19 14:26Chip ChristianNew Issue
2011-09-19 14:28Brad KingRelationship addedduplicate of 0012366
2011-09-19 14:29Brad KingStatusnew => resolved
2011-09-19 14:29Brad KingFixed in Version => CMake 2.8.6
2011-09-19 14:29Brad KingResolutionopen => duplicate
2011-09-19 14:29Brad KingAssigned To => Brad King
2012-02-06 06:07David ColeNote Added: 0028511
2012-02-06 06:07David ColeStatusresolved => closed

Notes
(0028511)
David Cole   
2012-02-06 06:07   
Closing resolved issues that have not been updated in more than 4 months.