From 4c620ca71a681047aa4e1c44ee87bd6d3814b611 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 25 Jun 2022 10:19:04 -0400 Subject: [PATCH] Update summary and description from upstream --- python-chardet.spec | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/python-chardet.spec b/python-chardet.spec index 248cc39..9db58cf 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -1,7 +1,7 @@ Name: python-chardet Version: 4.0.0 Release: %autorelease -Summary: Character encoding auto-detection in Python +Summary: Python character encoding detector # The entire source is LGPLv2+, except: # @@ -29,17 +29,35 @@ BuildRequires: pyproject-rpm-macros BuildRequires: python3-pytest %endif -%global _description\ -Character encoding auto-detection in Python. As\ -smart as your browser. Open source. +%global common_description %{expand: +Chardet: The Universal Character Encoding Detector -%description %_description +Detects: + + • ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) + • Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified + Chinese) + • EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese) + • EUC-KR, ISO-2022-KR, Johab (Korean) + • KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic) + • ISO-8859-5, windows-1251 (Bulgarian) + • ISO-8859-1, windows-1252 (Western European languages) + • ISO-8859-7, windows-1253 (Greek) + • ISO-8859-8, windows-1255 (Visual and Logical Hebrew) + • TIS-620 (Thai) + +ISO-8859-2 and windows-1250 (Hungarian) probers have been temporarily +disabled.} + +%description +%{common_description} %package -n python3-chardet Summary: %{summary} -%description -n python3-chardet %_description +%description -n python3-chardet +%{common_description} %prep