Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
96786c9fb6
commit
75f037510f
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 16.8
|
Version: 16.8
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Core utilities for Python packages
|
Summary: Core utilities for Python packages
|
||||||
|
|
||||||
License: BSD or ASL 2.0
|
License: BSD or ASL 2.0
|
||||||
@ -32,8 +32,8 @@ BuildRequires: pyparsing
|
|||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: python-pretend
|
BuildRequires: python2-pretend
|
||||||
BuildRequires: python-six
|
BuildRequires: python2-six
|
||||||
|
|
||||||
# Build Python 3 subpackage only for Fedora
|
# Build Python 3 subpackage only for Fedora
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -48,7 +48,7 @@ BuildRequires: python%{python3_pkgversion}-sphinx
|
|||||||
|
|
||||||
%if 0%{?build_wheel}
|
%if 0%{?build_wheel}
|
||||||
BuildRequires: python2-pip
|
BuildRequires: python2-pip
|
||||||
BuildRequires: python-wheel
|
BuildRequires: python2-wheel
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python%{python3_pkgversion}-pip
|
BuildRequires: python%{python3_pkgversion}-pip
|
||||||
BuildRequires: python%{python3_pkgversion}-wheel
|
BuildRequires: python%{python3_pkgversion}-wheel
|
||||||
@ -69,7 +69,7 @@ Requires: python2-pyparsing
|
|||||||
Requires: pyparsing
|
Requires: pyparsing
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: python-six
|
Requires: python2-six
|
||||||
|
|
||||||
%description -n python2-%{pypi_name}
|
%description -n python2-%{pypi_name}
|
||||||
python2-packaging provides core utilities for Python packages like utilities for
|
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
|
%license LICENSE LICENSE.APACHE LICENSE.BSD
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16.8-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user