Package: simple-cdd
Version: 0.6.6
Severity: normal

Currently dose-debcheck distcheck no longer works with gzip compressed
Packages, see bug #905016 but on the other hand supports xz compressed
Packages which offers better compression. Should be trivial to
implement, see patch.

Thanks,
Pascal
--- /usr/bin/build-simple-cdd	2018-07-30 19:38:46.299216952 +0200
+++ /home/pascal/build-simple-cdd	2018-07-30 19:39:51.998800124 +0200
@@ -586,7 +586,7 @@
             packages_dirs = find_packages_dirs(dists_root, a)
 
             for pathname in packages_dirs:
-                bg_pkgfile = [os.path.join(i, "Packages.gz") for i in packages_dirs if i != pathname]
+                bg_pkgfile = [os.path.join(i, "Packages.xz") for i in packages_dirs if i != pathname]
                 bg_command = []
 
                 for file in bg_pkgfile:
@@ -596,7 +596,7 @@
                 command = [debcheck, "--failures", "--explain"]
                 command.extend(bg_command)
 
-                pkgfile = os.path.join(pathname, "Packages.gz")
+                pkgfile = os.path.join(pathname, "Packages.xz")
                 if not os.path.exists(pkgfile): continue
                 command.append(pkgfile)
                 output = io.StringIO()

Reply via email to