Update to 5.0.0 (close RHBZ#2101067)
This commit is contained in:
parent
54e08a90f3
commit
4e6f753383
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/chardet-*.tar.gz
|
/chardet-*.tar.gz
|
||||||
/chardet-*/
|
/chardet-*/
|
||||||
/chardet-4.0.0-filtered.tar.xz
|
/chardet-4.0.0-filtered.tar.xz
|
||||||
|
/chardet-5.0.0-filtered.tar.xz
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
%bcond_without doc_pdf
|
%bcond_without doc_pdf
|
||||||
|
|
||||||
Name: python-chardet
|
Name: python-chardet
|
||||||
Version: 4.0.0
|
Version: 5.0.0
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Python character encoding detector
|
Summary: Python character encoding detector
|
||||||
|
|
||||||
@ -86,11 +86,7 @@ Summary: Documentation for python-chardet
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n chardet-%{version}
|
%autosetup -n chardet-%{version}
|
||||||
|
|
||||||
# Remove useless shebangs
|
|
||||||
# https://github.com/chardet/chardet/commit/1e94b33329
|
|
||||||
grep -lr "^#\!/usr/bin/env python" chardet/ | xargs sed -i "1d"
|
|
||||||
|
|
||||||
# Since pdflatex cannot handle Unicode inputs in general:
|
# Since pdflatex cannot handle Unicode inputs in general:
|
||||||
echo "latex_engine = 'xelatex'" >> docs/conf.py
|
echo "latex_engine = 'xelatex'" >> docs/conf.py
|
||||||
|
|||||||
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (chardet-4.0.0-filtered.tar.xz) = 4c41d5f9311e6796a3270b5ecd63abc51e52962c97a7599e8756e82ba97998306e2e841e14da96441a63c446fa9142534bac7154579822b55882e621f3bbe2e0
|
SHA512 (chardet-5.0.0-filtered.tar.xz) = 6673691b81d94cf39daaf2d9fb9e98c0aa56e531b4d191206c4988da77a190663d37d387cf4b66aa49d3e38ff8a22cc1915a23adb86c21e80144a48fa0a55791
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user