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
This commit is contained in:
Domen Vrankar
2017-09-21 07:53:42 +02:00
parent 821b54f4a6
commit 74b7457f12
19 changed files with 124 additions and 21 deletions
@@ -0,0 +1,14 @@
cpack-rpm-deb-version
---------------------
* Modules :module:`CPackRPM` and :module:`CPackDeb` learned to set package epoch
version.
See :variable:`CPACK_RPM_PACKAGE_EPOCH` and
:variable:`CPACK_DEBIAN_PACKAGE_EPOCH` variables.
* The :module:`CPackDeb` module learned to set package release version in
`Version` info property.
See :variable:`CPACK_DEBIAN_PACKAGE_RELEASE` variable.
* The :module:`CPackDeb` module learned more strict package version checking
that complies with Debian rules.