commit bd321f80aa1828f5f4a9353c61db95a6c969a018
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Thu Mar 4 09:49:37 2021 +0100
Don't show GITDIR-NOTFOUND in the window title
vcmi.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/vcmi.spec b/vcmi.spec
index ab3232b..d316573 100644
--- a/vcmi.spec
+++ b/vcmi.spec
@@ -88,6 +88,9 @@ dos2unix README.md license.txt AUTHORS ChangeLog
%patch1 -p1
+# Don't show GITDIR-NOTFOUND in the window title
+sed -i 's/GITDIR-NOTFOUND/%{scommit}/' cmake_modules/*
+
%build
# low effort fix of some cmake brokenness