[packages/ejabberd] neutralize another 'git describe' usage
jajcus
jajcus at pld-linux.org
Fri Nov 15 15:57:36 CET 2013
commit 8e49610a09fc7aed08b5cc1b502f7f2d7204fb67
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Fri Nov 15 15:56:58 2013 +0100
neutralize another 'git describe' usage
ejabberd.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ejabberd.spec b/ejabberd.spec
index eecbf7b..baceae7 100644
--- a/ejabberd.spec
+++ b/ejabberd.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ejabberd.git/commitdiff/8e49610a09fc7aed08b5cc1b502f7f2d7204fb67
More information about the pld-cvs-commit
mailing list