[packages/rt/RT_4_0] - prevent git run, so we don't end up with version 0.0.0

arekm arekm at pld-linux.org
Wed Oct 16 15:12:13 CEST 2013


commit 23c60b1923f70b74320afad4220b06cd69debca1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 16 15:12:11 2013 +0200

    - prevent git run, so we don't end up with version 0.0.0

 rt.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/rt.spec b/rt.spec
index 09b4ef9..788409c 100644
--- a/rt.spec
+++ b/rt.spec
@@ -256,6 +256,9 @@ mv aclocal.m4 acinclude.m4
 
 sed -i -e 's#libdir:.*#libdir:	%{_libdir}#g' config.layout
 
+# prevent configure from using git
+sed -i -e 's#git describe --tags#false#g' configure.ac
+
 %build
 %{__aclocal}
 %{__autoconf}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rt.git/commitdiff/23c60b1923f70b74320afad4220b06cd69debca1



More information about the pld-cvs-commit mailing list