1 From: Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org>
2 Date: Tue, 14 Apr 2015 10:02:31 -0400
3 Subject: avoid-beta-warning
5 avoid self-describing as a beta
7 Using autoreconf against the source as distributed in tarball form
8 invariably results in a package that thinks it's a "beta" package,
9 which produces the "THIS IS A DEVELOPMENT VERSION" warning string.
11 since we use dh_autoreconf, i need this patch to avoid producing
12 builds that announce themselves as DEVELOPMENT VERSIONs.
16 http://lists.gnupg.org/pipermail/gnupg-devel/2014-November/029065.html
19 1 file changed, 3 insertions(+), 3 deletions(-)
21 diff --git a/autogen.sh b/autogen.sh
22 index e5ba5bf05..d7bab0383 100755
25 @@ -229,7 +229,7 @@ if [ "$myhost" = "find-version" ]; then
29 - if [ -e .git ]; then
32 tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
33 tmp=$(echo "$tmp" | sed s/^"$package"//)
34 @@ -245,8 +245,8 @@ if [ "$myhost" = "find-version" ]; then
35 rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))