Add requirements at build time too
This commit is contained in:
parent
3705905238
commit
16fae3fbd5
@ -26,12 +26,17 @@ BuildRequires: python-setuptools
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-wheel
|
||||
BuildRequires: python2-botocore
|
||||
BuildRequires: python2-jmespath
|
||||
BuildRequireS: python-futures
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-botocore
|
||||
BuildRequires: python3-jmespath
|
||||
%endif # with_python3
|
||||
|
||||
%description
|
||||
@ -42,7 +47,6 @@ and Amazon EC2.
|
||||
|
||||
%package -n python2-%{pypi_name}
|
||||
Summary: The AWS SDK for Python
|
||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
||||
Requires: python-botocore
|
||||
Requires: python-jmespath
|
||||
RequireS: python-futures
|
||||
@ -58,7 +62,6 @@ and Amazon EC2.
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: The AWS SDK for Python
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
Requires: python3-botocore
|
||||
Requires: python3-jmespath
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
Loading…
Reference in New Issue
Block a user