|
|
@@ -50,6 +50,23 @@ if(CPackGen MATCHES "ZIP")
|
|
|
if (${CPackComponentWay} STREQUAL "AllGroupsInOne")
|
|
|
set(expected_count 1)
|
|
|
endif (${CPackComponentWay} STREQUAL "AllGroupsInOne")
|
|
|
+elseif (CPackGen MATCHES "RPM")
|
|
|
+ set(expected_file_mask "${CPackComponentsForAll_BINARY_DIR}/MyLib-*.rpm")
|
|
|
+ if (${CPackComponentWay} STREQUAL "default")
|
|
|
+ set(expected_count 1)
|
|
|
+ endif(${CPackComponentWay} STREQUAL "default")
|
|
|
+ if (${CPackComponentWay} STREQUAL "OnePackPerGroup")
|
|
|
+ set(expected_count 2)
|
|
|
+ endif (${CPackComponentWay} STREQUAL "OnePackPerGroup")
|
|
|
+ if (${CPackComponentWay} STREQUAL "IgnoreGroup")
|
|
|
+ set(expected_count 4)
|
|
|
+ endif (${CPackComponentWay} STREQUAL "IgnoreGroup")
|
|
|
+ if (${CPackComponentWay} STREQUAL "AllInOne")
|
|
|
+ set(expected_count 1)
|
|
|
+ endif (${CPackComponentWay} STREQUAL "AllInOne")
|
|
|
+ if (${CPackComponentWay} STREQUAL "AllGroupsInOne")
|
|
|
+ set(expected_count 1)
|
|
|
+ endif (${CPackComponentWay} STREQUAL "AllGroupsInOne")
|
|
|
endif(CPackGen MATCHES "ZIP")
|
|
|
|
|
|
# clean-up previously CPack generated files
|