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

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