From b761a025428767ff8b757da9bd6dbe532e851102 Mon Sep 17 00:00:00 2001 From: lihaoxiang Date: Wed, 19 Oct 2022 05:17:39 -0400 Subject: [PATCH] fix typos fxlb (cherry picked from commit 4b825ee6b16108ed1d5d774d731a88e0025ac313) --- 0002-fix-typos-fxlb.patch | 24 ++++++++++++++++++++++++ file.spec | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0002-fix-typos-fxlb.patch diff --git a/0002-fix-typos-fxlb.patch b/0002-fix-typos-fxlb.patch new file mode 100644 index 0000000..dd02052 --- /dev/null +++ b/0002-fix-typos-fxlb.patch @@ -0,0 +1,24 @@ +From ab812bb4f64a6d1410263259a6881c620730e7dd Mon Sep 17 00:00:00 2001 +From: Christos Zoulas +Date: Sun, 14 Nov 2021 17:42:43 +0000 +Subject: [PATCH] fix typos (fxlb) + +--- + magic/Magdir/images | 2 ++-- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/magic/Magdir/images b/magic/Magdir/images +index 6ce08725..71982d05 100644 +--- a/magic/Magdir/images ++++ b/magic/Magdir/images +@@ -1985,7 +1985,7 @@ + >>>14 leshort x \b%d) + # no Color LookUp Table (CLUT) + >>4 lelong ^8 +-# image orgin X Y ++# image origin X Y + >>>12 leshort x Pixel at (%d, + >>>14 leshort x \b%d) Size= + # real image width = multiply by 4 (4BPP) 2 (8BPP) 1 (16BPP) 2/3 (24BPP) +-- +2.37.0.windows.1 \ No newline at end of file diff --git a/file.spec b/file.spec index 980b2d0..fe6e87f 100644 --- a/file.spec +++ b/file.spec @@ -1,12 +1,13 @@ Name: file Version: 5.41 -Release: 1 +Release: 2 Summary: A tool to identify the type of a particular file type License: BSD URL: http://www.darwinsys.com/file/ Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz Patch1: 0001-file-localmagic.patch +Patch2: 0002-fix-typos-fxlb.patch Requires: %{name}-libs = %{version}-%{release} BuildRequires: autoconf automake libtool zlib-devel make @@ -130,6 +131,9 @@ make -C tests check %{python3_sitelib}/__pycache__/* %changelog +* Wed Oct 19 2022 lihaoxiang - 5.41-2 +- fix typos fxlb + * Fri Nov 26 2021 yanglongkang - 5.41-1 - update to 5.41