fix typos fxlb

(cherry picked from commit 4b825ee6b16108ed1d5d774d731a88e0025ac313)
This commit is contained in:
lihaoxiang 2022-10-19 05:17:39 -04:00 committed by openeuler-sync-bot
parent e1bad8b1e9
commit b761a02542
2 changed files with 29 additions and 1 deletions

24
0002-fix-typos-fxlb.patch Normal file
View File

@ -0,0 +1,24 @@
From ab812bb4f64a6d1410263259a6881c620730e7dd Mon Sep 17 00:00:00 2001
From: Christos Zoulas <christos@zoulas.com>
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

View File

@ -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 <lihaoxiang9@huawei.com> - 5.41-2
- fix typos fxlb
* Fri Nov 26 2021 yanglongkang <yanglongkang@huawei.com> - 5.41-1
- update to 5.41