From 02dc1e49534b99bdbce483da00e1b378e7de9f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kalu=C5=BEa?= Date: Fri, 11 Jun 2010 12:14:59 +0000 Subject: [PATCH] Resolves:#603040 - removed excessive HTML/SGML "magic patterns" --- file-5.04-html-regression.patch | 44 +++++++++++++++++++++++++++++++++ file.spec | 10 +++++--- 2 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 file-5.04-html-regression.patch diff --git a/file-5.04-html-regression.patch b/file-5.04-html-regression.patch new file mode 100644 index 0000000..9be36c9 --- /dev/null +++ b/file-5.04-html-regression.patch @@ -0,0 +1,44 @@ +diff --git a/magic/Magdir/sgml b/magic/Magdir/sgml +index 0a57375..1dceba5 100644 +--- a/magic/Magdir/sgml ++++ b/magic/Magdir/sgml +@@ -34,21 +34,13 @@ + # HyperText Markup Language (HTML) is an SGML document type, + # from Daniel Quinlan (quinlan@yggdrasil.com) + # adapted to string extenstions by Anthon van der Neut doc/libmagic.man_ touch -r doc/libmagic.man doc/libmagic.man_ @@ -167,6 +168,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Fri Jun 11 2010 Jan Kaluza 5.04-9 +- removed excessive HTML/SGML "magic patterns" (#603040) + * Wed Apr 14 2010 Daniel Novotny 5.04-8 - fix #580046 - the file command returns zero exit code even in case of unexisting file being tested