summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorHarry Mallon <harry@codexdigital.com>2016-12-03 19:31:41 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-12-03 19:39:05 (GMT)
commita5a6f61be37bd7fa6997e40ed43b3450834b265e (patch)
treec6f84d71fbaa5c5197ca1ec3d0a1219eb936c412 /Tests/RunCMake/CPack/RunCMakeTest.cmake
parentc45b767a8c2120ba61b9fafa31d8db37a919d62a (diff)
downloadCMake-a5a6f61be37bd7fa6997e40ed43b3450834b265e.zip
CMake-a5a6f61be37bd7fa6997e40ed43b3450834b265e.tar.gz
CMake-a5a6f61be37bd7fa6997e40ed43b3450834b265e.tar.bz2
CPackRPM now supports multiple directives in CPACK_RPM_USER_FILELIST
* In older version "%dir %attr(-, root, root) foo" would put "%dir foo" in the final spec file. * Also added comment to describe this and advise not not to add trailing slashes to directories in USER_FILELIST. * Includes test in RunCMake CPack which now passes.
Diffstat (limited to 'Tests/RunCMake/CPack/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CPack/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/RunCMakeTest.cmake b/Tests/RunCMake/CPack/RunCMakeTest.cmake
index 092fb47..3077340 100644
--- a/Tests/RunCMake/CPack/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CPack/RunCMakeTest.cmake
@@ -22,3 +22,4 @@ run_cpack_test(PER_COMPONENT_FIELDS "RPM;DEB" false "COMPONENT")
run_cpack_test_subtests(SINGLE_DEBUGINFO "no_main_component;one_component;one_component_main;no_debuginfo;one_component_no_debuginfo;no_components;valid" "RPM" true "CUSTOM")
run_cpack_source_test(SOURCE_PACKAGE "RPM")
run_cpack_test(SUGGESTS "RPM" false "MONOLITHIC")
+run_cpack_test(USER_FILELIST "RPM" false "MONOLITHIC")