Update Python 2 dependency declarations to new packaging standards

f38
Iryna Shcherbina 7 years ago
parent adeec4bd43
commit 430d451226

@ -17,7 +17,7 @@
Summary: A simple, lightweight interface to Amazon Web Services Summary: A simple, lightweight interface to Amazon Web Services
Name: python-boto Name: python-boto
Version: 2.45.0 Version: 2.45.0
Release: 7%{?dist} Release: 8%{?dist}
License: MIT License: MIT
Group: Development/Languages Group: Development/Languages
URL: https://github.com/boto/boto URL: https://github.com/boto/boto
@ -65,8 +65,8 @@ Patch9: boto-2.40.0-route53-no-resourcepath.patch
Patch10: boto-2.45.0-modifysubnetattribute.patch Patch10: boto-2.45.0-modifysubnetattribute.patch
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python-setuptools BuildRequires: python2-setuptools
BuildRequires: python-six BuildRequires: python2-six
%if %{with python3} %if %{with python3}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
@ -74,10 +74,10 @@ BuildRequires: python3-six
%endif # with python3 %endif # with python3
%if %{with unittests} %if %{with unittests}
BuildRequires: python-httpretty BuildRequires: python2-httpretty
BuildRequires: python-mock BuildRequires: python2-mock
BuildRequires: python-nose BuildRequires: python2-nose
BuildRequires: python-requests BuildRequires: python2-requests
%if %{with python3} %if %{with python3}
BuildRequires: python3-httpretty BuildRequires: python3-httpretty
BuildRequires: python3-mock BuildRequires: python3-mock
@ -102,9 +102,9 @@ cloud systems like Eucalyptus, OpenStack and Open Nebula.
%package -n python2-boto %package -n python2-boto
Summary: A simple, lightweight interface to Amazon Web Services Summary: A simple, lightweight interface to Amazon Web Services
Requires: python-requests Requires: python2-requests
Requires: python-rsa Requires: python2-rsa
Requires: python-six >= 1.7 Requires: python2-six >= 1.7
Provides: python-boto = %{version}-%{release} Provides: python-boto = %{version}-%{release}
Obsoletes: python-boto < 2.39 Obsoletes: python-boto < 2.39
@ -200,6 +200,10 @@ mv $RPM_BUILD_ROOT/%{_bindir} examples
%changelog %changelog
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.45.0-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> - 2.45.0-7 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.45.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save