Blame SOURCES/0019-build-Use-hardcoded-version-variable.patch

28a59a
From 395651f059ceb21d56c44cddda05e055caa0fd19 Mon Sep 17 00:00:00 2001
28a59a
From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Hor=C3=A1=C4=8Dek?=
28a59a
 <shoracek@redhat.com>
28a59a
Date: Mon, 18 Oct 2021 19:04:54 +0200
28a59a
Subject: [PATCH] build: Use hardcoded version variable
28a59a
MIME-Version: 1.0
28a59a
Content-Type: text/plain; charset=UTF-8
28a59a
Content-Transfer-Encoding: 8bit
28a59a
28a59a
Before this commit the version was generated from git tag/commit hash.
28a59a
This caused problems with having empty version variable while building
28a59a
outside of git. Fix this by hardcoding the variable.
28a59a
28a59a
Signed-off-by: Štěpán Horáček <shoracek@redhat.com>
28a59a
---
28a59a
 configure.ac | 3 +--
28a59a
 1 file changed, 1 insertion(+), 2 deletions(-)
28a59a
28a59a
diff --git a/configure.ac b/configure.ac
28a59a
index 9561fa86..2bf3a790 100644
28a59a
--- a/configure.ac
28a59a
+++ b/configure.ac
28a59a
@@ -1,5 +1,4 @@
28a59a
-AC_INIT([tpm2-tools],
28a59a
-    [m4_esyscmd_s([git describe --tags --always --dirty])])
28a59a
+AC_INIT([tpm2-tools], [5.0])
28a59a
 AC_CONFIG_MACRO_DIR([m4])
28a59a
 
28a59a
 AX_IS_RELEASE([dash-version])
28a59a
-- 
28a59a
2.31.1
28a59a