aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-03-21 09:39:01 +0100
committerEike Ziller <eike.ziller@qt.io>2023-03-21 10:33:55 +0000
commit8db072d68d61172577dc7e0a3b552d0c4feb1f17 (patch)
tree69445661116f5588439b16de84f4db4189264304 /packaging
parentcf1854a2d770d704876c2fa3a8b4742527f644f7 (diff)
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>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/CMakeLists.txt b/packaging/CMakeLists.txt
index 7c57746289..7b9b46538c 100644
--- a/packaging/CMakeLists.txt
+++ b/packaging/CMakeLists.txt
@@ -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)