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                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to