Package: xpra
Version: 0.14.3+dfsg-1
Severity: wishlist
Tags: patch

Hello,

dpkg-parsechangelog in Wheezy doesn't support the
--show-field=Version command line argument which causes a
corrupted src_info.py. The attached patch fixes the issue by
using only available command line options.

Please apply the patch to make backporting to Wheezy easier.

Regards
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
diff -Nru xpra-0.14.3+dfsg/debian/patches/buildinfo-revision.patch xpra-0.14.3+dfsg/debian/patches/buildinfo-revision.patch
--- xpra-0.14.3+dfsg/debian/patches/buildinfo-revision.patch	2014-08-21 03:09:35.000000000 +0200
+++ xpra-0.14.3+dfsg/debian/patches/buildinfo-revision.patch	2014-08-26 23:57:20.000000000 +0200
@@ -33,7 +33,7 @@
              continue
          changes += 1
          print("WARNING: found modified file: %s" % filename)
-+    proc = subprocess.Popen("dpkg-parsechangelog --show-field=Version", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
++    proc = subprocess.Popen("dpkg-parsechangelog | grep '^Version: ' | awk '{print $2}'", stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
 +    (out, _) = proc.communicate()
 +    changes = out[:-1]
      props["LOCAL_MODIFICATIONS"] = changes

Attachment: signature.asc
Description: Digital signature

Reply via email to