]> git.pld-linux.org Git - packages/ejabberd.git/blobdiff - ejabberd.spec
Do not let the autotools run 'git describe'
[packages/ejabberd.git] / 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.036082 seconds and 4 git commands to generate.