rpms/file/devel file-4.19-ooffice.patch, NONE, 1.1 file.spec, 1.56, 1.57

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jan 25 13:37:06 UTC 2007


Author: mbacovsk

Update of /cvs/dist/rpms/file/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24516

Modified Files:
	file.spec 
Added Files:
	file-4.19-ooffice.patch 
Log Message:
* Thu Jan 25 2007 Martin Bacovsky <mbacovsk at redhat.com> - 4.19-2.fc7
- Resolves: #223297 - file does not recognize OpenOffice "native" formats
- Resolves: #224344 - Magic rules should be in file-libs


file-4.19-ooffice.patch:
 archive |    2 --
 1 files changed, 2 deletions(-)

--- NEW FILE file-4.19-ooffice.patch ---
--- file-4.19/magic/Magdir/archive.ooffice	2007-01-25 11:18:43.000000000 +0100
+++ file-4.19/magic/Magdir/archive	2007-01-25 11:19:08.000000000 +0100
@@ -536,8 +536,6 @@
 >4	byte		0x0b		Zip archive data, at least v1.1 to extract
 >4	byte		0x14
 >>30	ubelong		!0x6d696d65	Zip archive data, at least v2.0 to extract
->0x161	string		WINZIP          Zip archive data, WinZIP self-extracting
-
 
 # OpenOffice.org / KOffice / StarOffice documents
 # From: Abel Cheung <abel at oaka.org>


Index: file.spec
===================================================================
RCS file: /cvs/dist/rpms/file/devel/file.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- file.spec	9 Jan 2007 19:23:02 -0000	1.56
+++ file.spec	25 Jan 2007 13:37:02 -0000	1.57
@@ -3,7 +3,7 @@
 Summary: A utility for determining file types.
 Name: file
 Version: 4.19
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: distributable
 Group: Applications/File
 Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@@ -20,6 +20,7 @@
 Patch18: file-4.17-powerpoint.patch
 Patch20: file-4.17-bash.patch
 Patch21: file-4.19-ELF.patch
+Patch22: file-4.19-ooffice.patch
 
 #Patch19: file-4.17-empty.patch
 
@@ -68,6 +69,7 @@
 #%patch19 -p1 -b .empty
 %patch20 -p1 -b .bash
 %patch21 -p1 -b .ELF
+%patch22 -p1 -b .ooffice
 
 iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_
 mv doc/libmagic.man_ doc/libmagic.man
@@ -103,15 +105,15 @@
 %defattr(-,root,root)
 %doc LEGAL.NOTICE README
 %{_bindir}/*
-%{_datadir}/magic*
-%{_datadir}/file
-%{_datadir}/misc/*
-%{_mandir}/man[15]/*
+%{_mandir}/man1/*
 
 %files libs
 %defattr(-,root,root)
 %{_libdir}/*so.*
-%{_mandir}/man3/*
+%{_mandir}/man[35]/*
+%{_datadir}/magic*
+%{_datadir}/file
+%{_datadir}/misc/*
 
 %files devel
 %defattr(0644, root, root, 0755)
@@ -121,6 +123,10 @@
 
 
 %changelog
+* Thu Jan 25 2007 Martin Bacovsky <mbacovsk at redhat.com> - 4.19-2.fc7
+- Resolves: #223297 - file does not recognize OpenOffice "native" formats
+- Resolves: #224344 - Magic rules should be in file-libs
+
 * Tue Jan  9 2007 Martin Bacovsky <mbacovsk at redhat.com> - 4.19-1.fc7
 - Resolves: #208880 - Pointless file(1) error message while detecting ELF 64-bit file
     thanks to <jakub at redhat.com> for patch




More information about the fedora-cvs-commits mailing list