Update to 4.0.0
This commit is contained in:
parent
1f30dbfcea
commit
6770299bbc
4 changed files with 13 additions and 30 deletions
|
|
@ -1,15 +1,12 @@
|
|||
%global pypi_name chardet
|
||||
Name: python-%{pypi_name}
|
||||
Version: 3.0.4
|
||||
Release: 19%{?dist}
|
||||
Version: 4.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Character encoding auto-detection in Python
|
||||
License: LGPLv2
|
||||
URL: https://github.com/%{pypi_name}/%{pypi_name}
|
||||
Source0: %pypi_source
|
||||
|
||||
# pytest 4 support
|
||||
Patch1: https://github.com/chardet/chardet/pull/174.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
|
@ -36,7 +33,10 @@ Summary: %{summary}
|
|||
|
||||
%prep
|
||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||
sed -ie '1d' %{pypi_name}/cli/chardetect.py
|
||||
|
||||
# Remove useless shebangs
|
||||
# https://github.com/chardet/chardet/commit/1e94b33329
|
||||
grep -lr "^#\!/usr/bin/env python" chardet/ | xargs sed -i "1d"
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
|
@ -58,6 +58,11 @@ sed -ie '1d' %{pypi_name}/cli/chardetect.py
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 05 2021 Miro Hrončok <mhroncok@redhat.com> - 4.0.0-1
|
||||
- Update to 4.0.0
|
||||
- Fixes: rhbz#1906585
|
||||
- Fixes: rhbz#1923076
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue