summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsForAll
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2017-09-21 05:53:42 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2017-09-21 17:54:17 (GMT)
commit74b7457f12c943abd2c33aebc8ada5b50e331f50 (patch)
tree9ffa8bfd02811f78ed6b6efe8776c739a6d4afb2 /Tests/CPackComponentsForAll
parent821b54f4a6e1cebfc8d5c9b061c45683a4a5c6ba (diff)
downloadCMake-74b7457f12c943abd2c33aebc8ada5b50e331f50.zip
CMake-74b7457f12c943abd2c33aebc8ada5b50e331f50.tar.gz
CMake-74b7457f12c943abd2c33aebc8ada5b50e331f50.tar.bz2
CPack RPM and DEB: improved package version handling
Adds support for epoch version to CPackRPM and CPackDeb packagers. Also adds better version checking to CPackDeb that complies with Debian rules. Fixes: #17057
Diffstat (limited to 'Tests/CPackComponentsForAll')
-rw-r--r--Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake
index a5b38fd..2c3a849 100644
--- a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake
+++ b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake
@@ -60,7 +60,7 @@ elseif (CPackGen MATCHES "RPM")
set(expected_count 1)
endif ()
elseif (CPackGen MATCHES "DEB")
- set(expected_file_mask "${CPackComponentsForAll_BINARY_DIR}/mylib*_1.0.2-1_*.deb")
+ set(expected_file_mask "${CPackComponentsForAll_BINARY_DIR}/mylib*_1.0.2_*.deb")
if (${CPackComponentWay} STREQUAL "default")
set(expected_count 1)
elseif (${CPackComponentWay} STREQUAL "OnePackPerGroup")