MantisBT - CMake
View Issue Details
0014362CMakeCPackpublic2013-08-16 05:102016-06-10 14:31
eaa 
Kitware Robot 
normalcrashalways
closedmoved 
i686Ubuntu Linux13
CMake 2.8.11.2 
 
0014362: Can't add attr directive to CPACK_RPM_USER_FILELIST (some symbols not allowed)
Seems 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.
add the following line in CMakeLists.txt:

set (CPACK_RPM_USER_FILELIST "%attr(755,test_user,test_group) /path/to/file")
Look at bug 0013468 (http://www.cmake.org/Bug/view.php?id=13468 [^]) for additional info.
No tags attached.
related to 0013468closed Eric NOULARD Can't add attr directive to CPACK_RPM_USER_FILELIST 
Issue History
2013-08-16 05:10eaaNew Issue
2013-08-16 05:33Eric NOULARDRelationship addedrelated to 0013468
2016-06-10 14:29Kitware RobotNote Added: 0042351
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042351)
Kitware Robot   
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.