Provide version#"git description".
authorDoug Torrance <dtorrance@debian.org>
Mon, 2 May 2022 00:14:15 +0000 (01:14 +0100)
committerDoug Torrance <dtorrance@debian.org>
Mon, 2 May 2022 00:14:15 +0000 (01:14 +0100)
Forwarded: not-needed
Last-Update: 2020-12-21

Since we may not be building the package from a git repository, we
hardcode the git description ahead of time.  This patch is
automatically updated by debian/scripts/m2-get-orig-source.sh.

Gbp-Pq: Name git-description.patch

M2/configure.ac

index d53a46789e6c5eac305d8e3edd94e0faf0d1042b..5c28b46bef55a258e1ad431ebfa9f9ff4100eaac 100644 (file)
@@ -535,7 +535,7 @@ AC_SUBST(GIT_DESCRIPTION)
 NEW_COMMITS=`$GIT rev-list $($GIT rev-list -1 HEAD $srcdir/VERSION)..HEAD --count`
 GIT_COMMIT=`$GIT describe --dirty --always --match HEAD`
 if test "$NEW_COMMITS-$GIT_COMMIT" = "-"
-then GIT_DESCRIPTION=version-$PACKAGE_VERSION-unknown
+then GIT_DESCRIPTION=version-1.19.1-3-07e46f040
 else GIT_DESCRIPTION=version-$PACKAGE_VERSION-$NEW_COMMITS-$GIT_COMMIT
 fi
 AC_DEFINE_UNQUOTED(GIT_DESCRIPTION,"$GIT_DESCRIPTION",[summary of git status])