CPack: Add a debian-revision and maintainer info

From man deb-version: It is conventional to restart the debian-revision
at '1' each time time the upstream-version is increased.

Not really required, since "no revision" sorts earlier than "some
revision", but seems to be conventional.

Also add a maintainer string, that is shown in the package info and
marks this package to come from the "Qt Project" directly.

Change-Id: I417a8d14d82f9f8ccfbe791e767d4ffed8175604
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2023-03-21 09:39:01 +01:00
parent cf1854a2d7
commit 8db072d68d

View File

@@ -21,6 +21,8 @@ set(CPACK_PACKAGE_CONTACT "None")
set(CPACK_THREADS 4)
set(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})
set(CPACK_DEBIAN_COMPRESSION_TYPE lzma)
set(CPACK_DEBIAN_PACKAGE_RELEASE 1)
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Qt Project <qt-creator@qt-project.org>")
# Make CMAKE_INSTALL_DEFAULT_COMPONENT_NAME the first component to install
get_cmake_property(CPACK_COMPONENTS_ALL COMPONENTS)