]> git.pld-linux.org Git - packages/ejabberd.git/commitdiff
neutralize another 'git describe' usage
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 15 Nov 2013 14:56:58 +0000 (15:56 +0100)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 15 Nov 2013 14:56:58 +0000 (15:56 +0100)
ejabberd.spec

index eecbf7bdc68633dfe7408355324b9ddc4b1458ec..baceae7b9195cc01d213df6b4666a6a622e4b49f 100644 (file)
@@ -109,7 +109,8 @@ Server-side logging module.
 # 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
+sed -i -e's/\([[:space:]]*REVISION=\).*git.*describe.*/\1"%{version}"/' contrib/extract_translations/prepare-translation.sh
+! grep -q "git describe" configure.ac contrib/extract_translations/prepare-translation.sh
 
 %build
 %{__aclocal} -I m4
This page took 0.119323 seconds and 4 git commands to generate.