View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014362CMakeCPackpublic2013-08-16 05:102016-06-10 14:31
Reportereaa 
Assigned ToKitware Robot 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionmoved 
Platformi686OSUbuntu LinuxOS Version13
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0014362: Can't add attr directive to CPACK_RPM_USER_FILELIST (some symbols not allowed)
DescriptionSeems that bug 0013468 (http://www.cmake.org/Bug/view.php?id=13468 [^]) need additional improvements. So, in some cases user name and group name in %attr contains underscores "_", but mentioned in bug 0013468 regex does not allow them.
For example, add the following line in CMakeLists.txt:

set (CPACK_RPM_USER_FILELIST "%attr(755,test_user,test_group) /path/to/file")

The same behaviour for "%" symbol- sometimes it can be used to reference to previously defined RPM variables, but "%" not allowed here.
Steps To Reproduceadd the following line in CMakeLists.txt:

set (CPACK_RPM_USER_FILELIST "%attr(755,test_user,test_group) /path/to/file")
Additional InformationLook at bug 0013468 (http://www.cmake.org/Bug/view.php?id=13468 [^]) for additional info.
TagsNo tags attached.
Attached Files

 Relationships
related to 0013468closedEric NOULARD Can't add attr directive to CPACK_RPM_USER_FILELIST 

  Notes
(0042351)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-08-16 05:10 eaa New Issue
2013-08-16 05:33 Eric NOULARD Relationship added related to 0013468
2016-06-10 14:29 Kitware Robot Note Added: 0042351
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team