diff options
author | Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com> | 2012-11-04 17:56:29 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-11-04 19:09:18 +0100 |
commit | 323bdcfa2f7bfa2f2402c22c4c90ca060243daaf (patch) | |
tree | c7d387482faaf370270441b17d65713d57da8dc4 /debian/rules | |
parent | 4970b42ef8e1fb89787434c37e6659cd40c087e7 (diff) | |
download | git-buildpackage-323bdcfa2f7bfa2f2402c22c4c90ca060243daaf.tar.gz git-buildpackage-323bdcfa2f7bfa2f2402c22c4c90ca060243daaf.tar.bz2 git-buildpackage-323bdcfa2f7bfa2f2402c22c4c90ca060243daaf.zip |
Fix testsuite failure if DEB_VENDOR != Debian
The package fails to build from source if the DEB_VENDOR is not Debian,
as the test output from git-dch expects Debian distribution specific
behaviour.
You can see the failed build log with DEB_VENDOR=Ubuntu here:
https://launchpadlibrarian.net/121690052/buildlog_ubuntu-raring-i386.git-buildpackage_0.6.0~git20120822_FAILEDTOBUILD.txt.gz
Closes: #692289
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 2c40befc..d09a7c2f 100755 --- a/debian/rules +++ b/debian/rules @@ -17,6 +17,7 @@ PYCHECKER_ARGS=-boptparse --no-override --no-shadowbuiltin override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) dh_auto_test + export DEB_VENDOR="Debian"; \ export GIT_AUTHOR_NAME="Gbp Tests"; \ export GIT_AUTHOR_EMAIL=tests@example.com; \ export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME; \ |