Update summary and description from upstream

This commit is contained in:
Benjamin A. Beasley 2022-06-25 10:19:04 -04:00
parent f47b6c6309
commit 4c620ca71a

View File

@ -1,7 +1,7 @@
Name: python-chardet Name: python-chardet
Version: 4.0.0 Version: 4.0.0
Release: %autorelease Release: %autorelease
Summary: Character encoding auto-detection in Python Summary: Python character encoding detector
# The entire source is LGPLv2+, except: # The entire source is LGPLv2+, except:
# #
@ -29,17 +29,35 @@ BuildRequires: pyproject-rpm-macros
BuildRequires: python3-pytest BuildRequires: python3-pytest
%endif %endif
%global _description\ %global common_description %{expand:
Character encoding auto-detection in Python. As\ Chardet: The Universal Character Encoding Detector
smart as your browser. Open source.
%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 %package -n python3-chardet
Summary: %{summary} Summary: %{summary}
%description -n python3-chardet %_description %description -n python3-chardet
%{common_description}
%prep %prep