From 19f4f57c8c13855142016d7c75fb0fb7a804ffe2 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 25 Jan 2011 09:41:59 +0200 Subject: [PATCH] syncpackage: Don't fakesync when we have a new orig tarball (LP: #707187) --- debian/changelog | 1 + syncpackage | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d6883a2..8ce50ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ ubuntu-dev-tools (0.114) UNRELEASED; urgency=low [ Stefano Rivera ] * ubuntutools.archive: Handle source package in workdir correctly. Add regression tests. (LP: #706403) + * syncpackage: Don't fakesync when we have a new orig tarball (LP: #707187) [ Dustin Kirkland ] * debian/control, debian/copyright, doc/errno.1, errno, setup.py: diff --git a/syncpackage b/syncpackage index 5f2e9d6..809605d 100755 --- a/syncpackage +++ b/syncpackage @@ -141,7 +141,7 @@ def sync_dsc(src_pkg, debian_dist, release, name, email, bugs, ubuntu_mirror, src_pkg.pull() src_pkg.unpack() - fakesync = not ubu_pkg.verify_orig() + fakesync = not (need_orig or ubu_pkg.verify_orig()) if fakesync: Logger.warn('The checksums of the Debian and Ubuntu packages mismatch. '