Package: libarchive
Version: 3.1.2-7
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu, I noticed that the minitar dep8 test was failing for libarchive.  
Upon investigation, it was failing because file now returns 'application/gzip' 
instead of 'application/x-gzip' for .gz files.  I'm *assuming* this isn't an 
Ubuntu-only behavior change, so I'm forwarding this patch on to you.  If 
Debian's file still returns x-gzip, kindly close this bug as is.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-5-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libarchive-3.1.2/debian/changelog libarchive-3.1.2/debian/changelog
diff -Nru libarchive-3.1.2/debian/tests/minitar libarchive-3.1.2/debian/tests/minitar
--- libarchive-3.1.2/debian/tests/minitar	2013-05-25 16:06:45.000000000 -0400
+++ libarchive-3.1.2/debian/tests/minitar	2013-12-11 11:32:58.000000000 -0500
@@ -21,7 +21,7 @@
 echo "Testing mime type of foo.tar..."
 test "$(file -b --mime-type foo.tar)" = "application/x-tar"
 echo "Testing mime type of foo.tar.gz..."
-test "$(file -b --mime-type foo.tar.gz)" = "application/x-gzip"
+test "$(file -b --mime-type foo.tar.gz)" = "application/gzip"
 echo "Testing mime type of foo.tar.bz2..."
 test "$(file -b --mime-type foo.tar.bz2)" = "application/x-bzip2"
 

Reply via email to