Resolves: #1226215 - fixed recognition of gnu message catalog (.mo) files
This commit is contained in:
parent
780c608c32
commit
17c2e0a6fe
29
file-5.31-mo-file-recognition.patch
Normal file
29
file-5.31-mo-file-recognition.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 2e5e9e16a4847b2e60cabc70e6b9bd7d633cb68a Mon Sep 17 00:00:00 2001
|
||||
From: Christos Zoulas <christos@zoulas.com>
|
||||
Date: Sat, 22 Jul 2017 17:21:24 +0000
|
||||
Subject: [PATCH] Strength decreased in magic file magic/Magdir/dump for new-fs
|
||||
dump file (little endian) to correctly recognize '*.mo' GNU message catalog
|
||||
(little endian).
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1226215
|
||||
|
||||
Upstream commit: https://github.com/file/file/commit/2e5e9e16a4847b2e60cabc70e6b9bd7d633cb68a
|
||||
---
|
||||
magic/Magdir/dump | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/magic/Magdir/dump b/magic/Magdir/dump
|
||||
index 64742b7a..c5711661 100644
|
||||
--- a/magic/Magdir/dump
|
||||
+++ b/magic/Magdir/dump
|
||||
>0 use old-dump-be
|
||||
|
||||
24 lelong 60012 new-fs dump file (little endian),
|
||||
+# to correctly recognize '*.mo' GNU message catalog (little endian)
|
||||
+!:strength - 15
|
||||
>0 use \^new-dump-be
|
||||
|
||||
24 lelong 60011 old-fs dump file (little endian),
|
||||
--
|
||||
2.13.3
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
Summary: A utility for determining file types
|
||||
Name: file
|
||||
Version: 5.31
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/File
|
||||
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
|
||||
@ -17,7 +17,7 @@ Patch4: file-5.04-volume_key.patch
|
||||
Patch5: file-5.04-man-return-code.patch
|
||||
|
||||
# picked from upstream
|
||||
|
||||
Patch6: file-5.31-mo-file-recognition.patch
|
||||
|
||||
URL: http://www.darwinsys.com/file/
|
||||
Requires: file-libs = %{version}-%{release}
|
||||
@ -182,6 +182,9 @@ cd %{py3dir}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jul 25 2017 Marek Cermak <macermak@redhat.com> - 5.31-2
|
||||
- fixed recognition of gnu message catalog (.mo) files (#1226215)
|
||||
|
||||
* Wed May 24 2017 Kamil Dudka <kdudka@redhat.com> - 5.31-1
|
||||
- update to new version 5.31
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user