View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015169CMakeCPackpublic2014-09-22 15:362015-03-20 16:54
ReporterSam Hartsfield 
Assigned ToDomen Vrankar 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSLinuxOS Version
Product VersionCMake 3.0.2 
Target VersionFixed in VersionCMake 3.3 
Summary0015169: CPackRPM: component-specific settings "fall through" to next component
DescriptionWhen component support is enabled in CPackRPM, component-specific settings get applied not only to the specified component, but also to any subsequent components. Some of these settings can be unset for the latter components, but some cannot (e.g. CPACK_RPM_USER_BINARY_SPECFILE).
Steps To ReproduceSee attached example. For spec.in file, use a standard template (cpack -D CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE=1 -G RPM).
TagsNo tags attached.
Attached Filestxt file icon CMakeLists.txt [^] (859 bytes) 2014-09-22 15:36 [Show Content]

 Relationships

  Notes
(0038231)
Domen Vrankar (developer)
2015-03-17 13:08

Pushed fix to next:
http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=be08972 [^]

Patch encapsulates entire RPM generation into a function so there will be no more accidental attribute leaks between components.

 Issue History
Date Modified Username Field Change
2014-09-22 15:36 Sam Hartsfield New Issue
2014-09-22 15:36 Sam Hartsfield File Added: CMakeLists.txt
2014-12-08 03:58 Domen Vrankar Assigned To => Domen Vrankar
2014-12-08 03:58 Domen Vrankar Status new => assigned
2015-03-17 13:08 Domen Vrankar Note Added: 0038231
2015-03-17 13:08 Domen Vrankar Status assigned => resolved
2015-03-17 13:08 Domen Vrankar Resolution open => fixed
2015-03-20 16:54 Domen Vrankar Status resolved => closed
2015-03-20 16:54 Domen Vrankar Fixed in Version => CMake 3.3


Copyright © 2000 - 2018 MantisBT Team