diff --git a/.gitignore b/.gitignore index 5351a30..a4332f7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /chardet-*/ /chardet-4.0.0-filtered.tar.xz /chardet-5.0.0-filtered.tar.xz +/chardet-5.1.0-filtered.tar.xz diff --git a/chardetect.1 b/chardetect.1 index 31717c2..f6f0ff2 100644 --- a/chardetect.1 +++ b/chardetect.1 @@ -19,5 +19,11 @@ File whose encoding we would like to determine. .B \-h\fR, \fB\-\-help show a help message and exit .TP +.B \-\-minimal +Print only the encoding to standard output +.TP +.B \-l\fR, \fB\-\-legacy +Rename legacy encodings to more modern ones. +.TP .B \-\-version show program\(cqs version number and exit diff --git a/python-chardet.spec b/python-chardet.spec index 11e6251..a84cad8 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -5,18 +5,12 @@ %bcond_without doc_pdf Name: python-chardet -Version: 5.0.0 +Version: 5.1.0 Release: %autorelease Summary: Python character encoding detector # The entire source, after tests/ are filtered, is LGPL-2.0-or-later. See the # comment above Source0 for more details on tests/. -# -# See also: -# clarify Trove license classifier -# https://github.com/chardet/chardet/issues/162 -# Clarify LGPL version in License trove classifier -# https://github.com/chardet/chardet/pull/255 License: LGPL-2.0-or-later URL: https://github.com/chardet/chardet # A filtered source tarball, obtained by (see Source1): diff --git a/sources b/sources index 0e05f69..75041bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (chardet-5.0.0-filtered.tar.xz) = 6673691b81d94cf39daaf2d9fb9e98c0aa56e531b4d191206c4988da77a190663d37d387cf4b66aa49d3e38ff8a22cc1915a23adb86c21e80144a48fa0a55791 +SHA512 (chardet-5.1.0-filtered.tar.xz) = 7682933114ae0a13534af95d2afdf297cd5f6003f9d6430fbcf63c080c175e7859de62efcf990f392f590da93b0a7979bdf00134b52f6d45198b253a030056f0