diff --git a/file-4.17-powerpoint.patch b/file-4.17-powerpoint.patch new file mode 100644 index 0000000..d3fb583 --- /dev/null +++ b/file-4.17-powerpoint.patch @@ -0,0 +1,19 @@ +--- file-4.17/magic/magic.mime.ppt 2006-06-26 08:57:42.000000000 +0200 ++++ file-4.17/magic/magic.mime 2006-07-10 11:05:19.000000000 +0200 +@@ -833,7 +833,7 @@ + + 0 string PO^Q` application/msword + +-0 string \320\317\021\340\241\261\032\341 ++0 string \320\317\021\340\241\261\032\341 application/msword + >546 string bjbj application/msword + >546 string jbjb application/msword + +@@ -844,7 +844,6 @@ + 2112 string MSWordDoc application/msword + + #0 string \320\317\021\340\241\261\032\341 application/powerpoint +-0 string \320\317\021\340\241\261\032\341 application/msword + + 0 string #\ PaCkAgE\ DaTaStReAm application/x-svr4-package + diff --git a/file.spec b/file.spec index 72a1a14..39336b0 100644 --- a/file.spec +++ b/file.spec @@ -3,7 +3,7 @@ Summary: A utility for determining file types. Name: file Version: 4.17 -Release: 4 +Release: 5 License: distributable Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -20,6 +20,7 @@ Patch14: file-4.17-wctype-header.patch Patch15: file-4.17-mp3_flac.patch Patch16: file-4.17-oracle.patch Patch17: file-4.17-clamav.patch +Patch18: file-4.17-powerpoint.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: zlib-devel @@ -46,6 +47,7 @@ useful utility. %patch15 -p1 -b .mp3 %patch16 -p1 -b .oracle %patch17 -p1 -b .clamav +%patch18 -p1 -b .powerpoint iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_ mv doc/libmagic.man_ doc/libmagic.man @@ -91,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libmagic.* %changelog +* Mon Jul 10 2006 Radek Vokal 4.17-5 +- fix powerpoint mine (#190373) + * Wed May 24 2006 Radek Vokál 4.17-4 - /usr/share/file is owned by package (#192858) - fix magic for Clamav files (#192406)