View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0014362 | CMake | CPack | public | 2013-08-16 05:10 | 2016-06-10 14:31 |
|
Reporter | eaa | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | moved | |
Platform | i686 | OS | Ubuntu Linux | OS Version | 13 |
Product Version | CMake 2.8.11.2 | |
Target Version | | Fixed in Version | | |
|
Summary | 0014362: Can't add attr directive to CPACK_RPM_USER_FILELIST (some symbols not allowed) |
Description | 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. |
Steps To Reproduce | add the following line in CMakeLists.txt:
set (CPACK_RPM_USER_FILELIST "%attr(755,test_user,test_group) /path/to/file") |
Additional Information | Look at bug 0013468 (http://www.cmake.org/Bug/view.php?id=13468 [^]) for additional info. |
Tags | No tags attached. |
|
Attached Files | |
|