This commit is contained in:
Daniel Novotny 2009-06-16 10:25:54 +00:00
parent cb52735b81
commit 14909fab18
2 changed files with 11 additions and 6 deletions

View File

@ -1,16 +1,17 @@
diff -up file-5.03/magic/Magdir/fonts.orig file-5.03/magic/Magdir/fonts
--- file-5.03/magic/Magdir/fonts.orig 2009-06-13 09:53:07.581775320 -0400
+++ file-5.03/magic/Magdir/fonts 2009-06-13 09:51:04.221775135 -0400
@@ -9,6 +9,8 @@
--- file-5.03/magic/Magdir/fonts.orig 2009-06-13 10:46:47.044774639 -0400
+++ file-5.03/magic/Magdir/fonts 2009-06-13 10:42:45.052774592 -0400
@@ -9,6 +9,9 @@
0 string %!PS-AdobeFont-1. PostScript Type 1 font text
>20 string >\0 (%s)
6 string %!PS-AdobeFont-1. PostScript Type 1 font program data
+0 string %!FontType1 PostScript Type 1 font program data
+6 string %!FontType1 PostScript Type 1 font program data
+0 string %!PS-Adobe-3.0\ Resource-Font PostScript Type 1 font text
# X11 font files in SNF (Server Natural Format) format
0 belong 00000004 X11 SNF font data, MSB first
@@ -58,7 +60,7 @@
@@ -58,7 +61,7 @@
0 string ttcf TrueType font collection data
# Opentype font data from Avi Bercovich

View File

@ -5,7 +5,7 @@
Summary: A utility for determining file types
Name: file
Version: 5.03
Release: 3%{?dist}
Release: 4%{?dist}
License: BSD
Group: Applications/File
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@ -64,7 +64,7 @@ file(1) command.
%patch1 -p1
#fixes #485835
%patch2 -p1
#fixes #505758, #505759, #505765
#fixes #505758, #505759, #505762, #505765
%patch3 -p1
iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_
@ -140,6 +140,10 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Tue Jun 16 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-4
- one more PostScript font magic added (#505762),
updated font patch
* Tue Jun 16 2009 Daniel Novotny <dnovotny@redhat.com> 5.03-3
- added magic for three font issues (PostScript fonts)
(#505758, #505759, #505765)