Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-12 00:44:02 +01:00
parent 5eba2c4cd2
commit e30d288e7f

View File

@ -2,7 +2,7 @@
%global pypi_name chardet
Name: python-%{pypi_name}
Version: 3.0.4
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Character encoding auto-detection in Python
Group: Development/Languages
@ -11,7 +11,7 @@ URL: https://github.com/%{pypi_name}/%{pypi_name}
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel, python-setuptools
BuildRequires: python2-devel, python2-setuptools
%if 0%{?with_python3}
BuildRequires: python3-devel, python3-setuptools
@ -88,6 +88,10 @@ popd
%changelog
* Sun Feb 11 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.0.4-5
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild