File: Prevent-git-exec.patch

package info (click to toggle)
rapidyaml 0.10.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,676 kB
  • sloc: cpp: 73,851; python: 3,678; javascript: 414; xml: 253; makefile: 96; sh: 44
file content (21 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Bastian Germann <bage@debian.org>
Forwarded: not-needed
Subject: Prevent git exec
---
--- a/extcmake/c4Project.cmake
+++ b/extcmake/c4Project.cmake
@@ -1021,14 +1021,6 @@ function(c4_set_default_pack_properties)
     elseif(EXISTS "${pd}/LICENSE.txt")
         c4_setg(CPACK_RESOURCE_FILE_LICENSE "${pd}/LICENSE.txt")
     endif()
-    c4_proj_get_version("${pd}" version_tag full major minor patch tweak)
-    c4_setg(CPACK_PACKAGE_VERSION "${full}")
-    c4_setg(CPACK_PACKAGE_VERSION_MAJOR "${major}")
-    c4_setg(CPACK_PACKAGE_VERSION_MINOR "${minor}")
-    c4_setg(CPACK_PACKAGE_VERSION_PATCH "${patch}")
-    c4_setg(CPACK_PACKAGE_VERSION_TWEAK "${tweak}")
-    c4_setg(CPACK_PACKAGE_INSTALL_DIRECTORY "${_c4_prefix}-${version_tag}")
-    c4_setg(CPACK_PACKAGE_FILE_NAME "${_c4_prefix}-${version_tag}-${platform_tag}${build_tag}")
     if(WIN32 AND NOT UNIX)
         # There is a bug in NSI that does not handle full UNIX paths properly.
         # Make sure there is at least one set of four backlashes.