GIT_SHA1 points to the sha1 of upstream.
authorSandro Knauß <hefee@debian.org>
Tue, 30 Jul 2024 10:35:29 +0000 (12:35 +0200)
committerSandro Knauß <hefee@debian.org>
Thu, 1 Aug 2024 18:19:18 +0000 (20:19 +0200)
Gbp-Pq: Name 0004-GIT_SHA1-points-to-the-sha1-of-upstream.patch

CMakeLists.txt

index 6877335888139155f662e9025d0eb7276e3c49a9..e1ecc4ab9f4941b0b4cc50d2caaceb4ca71126b3 100644 (file)
@@ -103,9 +103,8 @@ include(GNUInstallDirs)
 include(DefineInstallationPaths)
 include(GenerateExportHeader)
 
-include(GetGitRevisionDescription)
-
-get_git_head_revision(GIT_REFSPEC GIT_SHA1)
+# On Debian we always have use a released version
+set(GIT_SHA1 "GITDIR-NOTFOUND")
 
 add_definitions(
     -DQT_DISABLE_DEPRECATED_BEFORE=0x000000