Update to 5.0.0 (close RHBZ#2101067)

This commit is contained in:
Benjamin A. Beasley 2022-06-25 13:01:53 -04:00
parent 54e08a90f3
commit 4e6f753383
3 changed files with 4 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/chardet-*.tar.gz
/chardet-*/
/chardet-4.0.0-filtered.tar.xz
/chardet-5.0.0-filtered.tar.xz

View File

@ -5,7 +5,7 @@
%bcond_without doc_pdf
Name: python-chardet
Version: 4.0.0
Version: 5.0.0
Release: %autorelease
Summary: Python character encoding detector
@ -86,11 +86,7 @@ Summary: Documentation for python-chardet
%prep
%autosetup -p1 -n chardet-%{version}
# Remove useless shebangs
# https://github.com/chardet/chardet/commit/1e94b33329
grep -lr "^#\!/usr/bin/env python" chardet/ | xargs sed -i "1d"
%autosetup -n chardet-%{version}
# Since pdflatex cannot handle Unicode inputs in general:
echo "latex_engine = 'xelatex'" >> docs/conf.py

View File

@ -1 +1 @@
SHA512 (chardet-4.0.0-filtered.tar.xz) = 4c41d5f9311e6796a3270b5ecd63abc51e52962c97a7599e8756e82ba97998306e2e841e14da96441a63c446fa9142534bac7154579822b55882e621f3bbe2e0
SHA512 (chardet-5.0.0-filtered.tar.xz) = 6673691b81d94cf39daaf2d9fb9e98c0aa56e531b4d191206c4988da77a190663d37d387cf4b66aa49d3e38ff8a22cc1915a23adb86c21e80144a48fa0a55791