Package: libarchive-zip-perl
Version: 1.30-3
Severity: normal
Tags: patch

If you build this package once then try to built it again that fails
because the test stuff is not cleaned up and gives 'unrepresentable
changes to source' errors.

This isn't actually a policy violation but should be IMHO.

It's simple to fix by making sure the extra dirs and files are cleaned
up in the clean target. Patch attached

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libarchive-zip-perl depends on:
ii  libcompress-raw-zlib-p 2.026-1           low-level interface to zlib compre
ii  perl [libcompress-raw- 5.10.1-17squeeze2 Larry Wall's Practical Extraction 

libarchive-zip-perl recommends no packages.

libarchive-zip-perl suggests no packages.

-- no debconf information
diff -urN libarchive-zip-perl-1.30/debian/rules libarchive-zip-perl-1.30.fixed/debian/rules
--- libarchive-zip-perl-1.30/debian/rules	2010-07-05 09:09:12.000000000 +0100
+++ libarchive-zip-perl-1.30.fixed/debian/rules	2012-01-06 15:52:33.873558243 +0000
@@ -5,3 +5,7 @@
 
 override_dh_auto_test:
 	AUTOMATED_TESTING=1 dh_auto_test
+
+override_dh_clean:
+	dh_clean
+	rm -rf testdir extracted test.log

Reply via email to