Fix python3 requires

f38
Garrett Holmstrom 10 years ago
parent 44908b28d7
commit 3cfa2fbd18

@ -16,7 +16,7 @@
Summary: A simple, lightweight interface to Amazon Web Services
Name: python-boto
Version: 2.34.0
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
Group: Development/Languages
URL: https://github.com/boto/boto
@ -46,15 +46,6 @@ BuildRequires: python3-requests
Requires: python-requests
Requires: python-rsa
%if %{with python3}
Requires: python3-requests
%if 0%{?fedora} > 20
# python3-rsa was introduced in python-rsa-3.1.1-6.fc21.
# If it is backported to F20 please file a bug to request a rebuild
# without this condition.
Requires: python3-rsa
%endif # fedora > 20
%endif # with python3
Provides: python2-boto = %{version}-%{release}
@ -75,6 +66,14 @@ cloud systems like Eucalyptus, OpenStack and Open Nebula.
%package -n python3-boto
Summary: A simple, lightweight interface to Amazon Web Services
Requires: python3-requests
%if 0%{?fedora} > 20
# python3-rsa was introduced in python-rsa-3.1.1-6.fc21.
# If it is backported to F20 please file a bug to request a rebuild
# without this condition.
Requires: python3-rsa
%endif # fedora > 20
%description -n python3-boto
Boto is a Python package that provides interfaces to Amazon Web Services.
@ -169,6 +168,9 @@ popd
%changelog
* Sun Nov 9 2014 Garrett Holmstrom <gholms@fedoraproject.org> - 2.34.0-4
- Fixed python3 requires
* Fri Nov 7 2014 Garrett Holmstrom <gholms@fedoraproject.org> - 2.34.0-3
- Re-fix executables (RH #1152444)

Loading…
Cancel
Save