[cmake-developers] [CMake 0012366]: when using different components RPM packages have the same package name

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 28 07:31:02 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12366 
====================================================================== 
Reported By:                winfriedd
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12366
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2011-07-28 13:31 CEST
Last Modified:              2011-07-28 13:31 CEST
====================================================================== 
Summary:                    when using different components RPM packages have
the same package name
Description: 
The RPM CPack generator can now generate multiple RPMs per project based on the
COMPONENT feature of cmake.

However the generated RPMs all have the same package name. When you install the
first package no problem. When you try to install the second package you will
get an error:
'package foo is already installed'

Steps to Reproduce: 
Download attached test project, which has two components.
build the project and the RPMs (make package).

Now try to install both generated RPMs. Installation of the second RPM will
fail.

Additional Information: 
Suggested patch to CPackRPM.cmake attached.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-07-28 13:31 winfriedd      New Issue                                    
2011-07-28 13:31 winfriedd      File Added: rpmcomponenttest.tar.bz2            
       
======================================================================




More information about the cmake-developers mailing list