From e3a3440ea5768f5e393dfd4fa0cbac490bb0b491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Vok=C3=A1l?= Date: Wed, 24 May 2006 14:37:33 +0000 Subject: [PATCH] - /usr/share/file is owned by package (#192858) - fix magic for Clamav files (#192406) --- file-4.17-clamav.patch | 10 ++++++++++ file.spec | 10 ++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 file-4.17-clamav.patch diff --git a/file-4.17-clamav.patch b/file-4.17-clamav.patch new file mode 100644 index 0000000..84559de --- /dev/null +++ b/file-4.17-clamav.patch @@ -0,0 +1,10 @@ +--- file-4.17/magic/Magdir/fsav.old 2006-03-02 22:50:25.000000000 +0100 ++++ file-4.17/magic/Magdir/fsav 2006-05-22 08:50:58.000000000 +0200 +@@ -54,7 +54,5 @@ + >>>>>>>>37 string x \b%-.1s + >>>>>>>>>38 string !: + >>>>>>>>>>38 string x \b%-.1s +->>>>512 string \037\213 \b, gzipped +->>>>769 string ustar\0 \b, tared + >512 string \037\213 \b, gzipped + >769 string ustar\0 \b, tared diff --git a/file.spec b/file.spec index b7a486a..72a1a14 100644 --- a/file.spec +++ b/file.spec @@ -3,7 +3,7 @@ Summary: A utility for determining file types. Name: file Version: 4.17 -Release: 3 +Release: 4 License: distributable Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -19,6 +19,7 @@ Patch13: file-4.17-init-mem.patch 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 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: zlib-devel @@ -44,6 +45,7 @@ useful utility. %patch14 -p1 -b .wctype %patch15 -p1 -b .mp3 %patch16 -p1 -b .oracle +%patch17 -p1 -b .clamav iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_ mv doc/libmagic.man_ doc/libmagic.man @@ -80,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT %doc LEGAL.NOTICE README %{_bindir}/* %{_datadir}/magic* -%{_datadir}/file/* +%{_datadir}/file %{_datadir}/misc/* %{_mandir}/man[15]/* @@ -89,6 +91,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libmagic.* %changelog +* Wed May 24 2006 Radek Vokál 4.17-4 +- /usr/share/file is owned by package (#192858) +- fix magic for Clamav files (#192406) + * Fri Apr 21 2006 Radek Vokál 4.17-3 - add support for OCFS or ASM (#189017)