From: Debian GnuPG Maintainers Date: Tue, 14 Apr 2015 14:02:31 +0000 (-0400) Subject: avoid-beta-warning X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=gnupg2.git;a=commitdiff_plain;h=3afe7539cae60c0a57902bff8a6892b6bf1aa7df;ds=sidebyside avoid-beta-warning avoid self-describing as a beta Using autoreconf against the source as distributed in tarball form invariably results in a package that thinks it's a "beta" package, which produces the "THIS IS A DEVELOPMENT VERSION" warning string. since we use dh_autoreconf, i need this patch to avoid producing builds that announce themselves as DEVELOPMENT VERSIONs. See discussion at: http://lists.gnupg.org/pipermail/gnupg-devel/2014-November/029065.html Gbp-Pq: Topic debian-packaging Gbp-Pq: Name 0001-avoid-beta-warning.patch --- diff --git a/autogen.sh b/autogen.sh index 92c6df8..6b631a2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -214,7 +214,7 @@ if [ "$myhost" = "find-version" ]; then esac beta=no - if [ -e .git ]; then + if false; then ingit=yes tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null) if [ -n "$tmp" ]; then @@ -228,8 +228,8 @@ if [ "$myhost" = "find-version" ]; then rvd=$((0x$(echo ${rev} | head -c 4))) else ingit=no - beta=yes - tmp="-unknown" + beta=no + tmp="" rev="0000000" rvd="0" fi