[cmake-developers] [CMake 0014362]: Can't add attr directive to CPACK_RPM_USER_FILELIST (some symbols not allowed)
Mantis Bug Tracker
mantis at public.kitware.com
Fri Aug 16 05:10:32 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14362
======================================================================
Reported By: eaa
Assigned To:
======================================================================
Project: CMake
Issue ID: 14362
Category: CPack
Reproducibility: always
Severity: crash
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-08-16 05:10 EDT
Last Modified: 2013-08-16 05:10 EDT
======================================================================
Summary: Can't add attr directive to CPACK_RPM_USER_FILELIST
(some symbols not allowed)
Description:
Seems that bug http://www.cmake.org/Bug/view.php?id=13468
(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 http://www.cmake.org/Bug/view.php?id=13468 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 http://www.cmake.org/Bug/view.php?id=13468
(http://www.cmake.org/Bug/view.php?id=13468) for additional info.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-08-16 05:10 eaa New Issue
======================================================================
More information about the cmake-developers
mailing list