| commit | 53991e62daf819a91b7c89f4d4899d0f94c7fd12 | [log] [tgz] |
|---|---|---|
| author | Alex Neundorf <neundorf@kde.org> | Sat Oct 14 23:21:34 2023 +0200 |
| committer | Brad King <brad.king@kitware.com> | Mon Nov 27 10:26:37 2023 -0500 |
| tree | 273a48b4e8f0a5a34e54c582fb101e3cb7529b35 | |
| parent | f2a6d423da1400108327bff5a27647b6d1d90392 [diff] |
CPack/RPM: Append .rpm to CPACK_RPM_FILE_NAME if missing
Previously we issued an error when the `.rpm` suffix is missing.
Instead, append the suffix automatically. This matches the behavior of
`CPACK_ARCHIVE_FILE_NAME`, to which the archive format suffix is
automatically appended. With this change, developers can simply do
set(CPACK_RPM_comp_FILE_NAME "${CPACK_ARCHIVE_comp_FILE_NAME}")