[packages/ejabberd] Do not let the autotools run 'git describe'

jajcus jajcus at pld-linux.org
Thu Nov 14 22:48:14 CET 2013


commit fb8f9840340f5617c51d0fe15ed223a74e7930cc
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Thu Nov 14 22:02:26 2013 +0100

    Do not let the autotools run 'git describe'

 ejabberd.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/ejabberd.spec b/ejabberd.spec
index c8dc501..3858523 100644
--- a/ejabberd.spec
+++ b/ejabberd.spec
@@ -108,6 +108,11 @@ Server-side logging module.
 %endif
 %patch3 -p1
 
+# do not let it use 'git describe' to fetch version
+# it uses nonsense during manual builds and fails on the builder
+sed -i -e"s/AC_INIT(ejabberd,[^,]*,/AC_INIT(ejabberd,community %{version},/" configure.ac
+! grep -q "git describe" configure.ac
+
 %build
 %{__aclocal} -I m4
 %{__autoconf}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ejabberd.git/commitdiff/9a6073b0a82f0356c3c97a4ecaf387361b0a22b8



More information about the pld-cvs-commit mailing list