File overwrite_git_version.patch of Package linuxdeploy000

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8aeb3ed..19bdfd1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -19,12 +19,13 @@ endif()
 # WARNING: this value will be stored in the CMake cache
 # to update it, you will have to reset the CMake cache
 # (doesn't matter for CI builds like Travis for instance, where there's no permanent CMake cache)
-execute_process(
-    COMMAND git rev-parse --short HEAD
-    WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
-    OUTPUT_VARIABLE GIT_COMMIT
-    OUTPUT_STRIP_TRAILING_WHITESPACE
-)
+# execute_process(
+#    COMMAND git rev-parse --short HEAD
+#    WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
+#    OUTPUT_VARIABLE GIT_COMMIT
+#    OUTPUT_STRIP_TRAILING_WHITESPACE
+#)
+SET(GIT_COMMIT $ENV{RPM_COMMIT_VERSION})
 
 # set version and build number
 set(VERSION 1-alpha)
openSUSE Build Service is sponsored by