]> git.pld-linux.org Git - packages/ejabberd.git/commitdiff
Do not let the autotools run 'git describe'
authorJacek Konieczny <jajcus@jajcus.net>
Thu, 14 Nov 2013 21:02:26 +0000 (22:02 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Thu, 14 Nov 2013 21:47:43 +0000 (22:47 +0100)
ejabberd.spec

index c8dc50158cd6dc760e421e333c25dfe793035a32..3858523b86f8d8547e77cca5db9f3bf520f4fb11 100644 (file)
@@ -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}
This page took 0.586432 seconds and 4 git commands to generate.