remove weak zlib pattern
This commit is contained in:
parent
9ed0a80433
commit
45919261a1
16
file-5.22-zlib.patch
Normal file
16
file-5.22-zlib.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/magic/Magdir/compress b/magic/Magdir/compress
|
||||
index beb8ebe..ae1c90f 100644
|
||||
--- a/magic/Magdir/compress
|
||||
+++ b/magic/Magdir/compress
|
||||
@@ -257,7 +257,7 @@
|
||||
!:mime application/x-qpress
|
||||
|
||||
# Zlib https://www.ietf.org/rfc/rfc6713.txt
|
||||
-0 beshort%31 =0
|
||||
->0 byte&0xf =8
|
||||
->>0 byte&0x80 =0 zlib compressed data
|
||||
-!:mime application/zlib
|
||||
+#0 beshort%31 =0
|
||||
+#>0 byte&0xf =8
|
||||
+#>>0 byte&0x80 =0 zlib compressed data
|
||||
+#!:mime application/zlib
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: A utility for determining file types
|
||||
Name: file
|
||||
Version: 5.22
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/File
|
||||
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
|
||||
@ -20,6 +20,7 @@ Patch7: file-5.14-x86boot.patch
|
||||
Patch8: file-5.14-perl.patch
|
||||
Patch14: file-5.19-cafebabe.patch
|
||||
Patch15: file-5.22-awk-perl.patch
|
||||
Patch16: file-5.22-zlib.patch
|
||||
URL: http://www.darwinsys.com/file/
|
||||
Requires: file-libs = %{version}-%{release}
|
||||
BuildRequires: zlib-devel
|
||||
@ -90,6 +91,7 @@ file(1) command.
|
||||
%patch8 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
|
||||
# Patches can generate *.orig files, which can't stay in the magic dir,
|
||||
# otherwise there will be problems with compiling magic file!
|
||||
@ -198,6 +200,9 @@ cd %{py3dir}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Feb 16 2015 Jan Kaluza <jkaluza@redhat.com> - 5.22-2
|
||||
- remove weak zlib pattern
|
||||
|
||||
* Wed Feb 04 2015 Jan Kaluza <jkaluza@redhat.com> - 5.22-1
|
||||
- update to new version 5.22
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user