Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-09 14:39:59 +01:00
parent 96786c9fb6
commit 75f037510f

View File

@ -10,7 +10,7 @@
Name: python-%{pypi_name}
Version: 16.8
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Core utilities for Python packages
License: BSD or ASL 2.0
@ -32,8 +32,8 @@ BuildRequires: pyparsing
BuildRequires: python-sphinx
%endif
BuildRequires: python-pretend
BuildRequires: python-six
BuildRequires: python2-pretend
BuildRequires: python2-six
# Build Python 3 subpackage only for Fedora
%if 0%{?with_python3}
@ -48,7 +48,7 @@ BuildRequires: python%{python3_pkgversion}-sphinx
%if 0%{?build_wheel}
BuildRequires: python2-pip
BuildRequires: python-wheel
BuildRequires: python2-wheel
%if 0%{?with_python3}
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-wheel
@ -69,7 +69,7 @@ Requires: python2-pyparsing
Requires: pyparsing
%endif
Requires: python-six
Requires: python2-six
%description -n python2-%{pypi_name}
python2-packaging provides core utilities for Python packages like utilities for
@ -167,6 +167,10 @@ rm -rf html/_static/fonts/
%license LICENSE LICENSE.APACHE LICENSE.BSD
%changelog
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 16.8-8
- 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> - 16.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild