Add requirements at build time too

i9ce
Fabio Alessandro Locati 9 years ago
parent 3705905238
commit 16fae3fbd5

@ -26,12 +26,17 @@ BuildRequires: python-setuptools
BuildRequires: python-nose BuildRequires: python-nose
BuildRequires: python-mock BuildRequires: python-mock
BuildRequires: python-wheel BuildRequires: python-wheel
BuildRequires: python2-botocore
BuildRequires: python2-jmespath
BuildRequireS: python-futures
%if 0%{?with_python3} %if 0%{?with_python3}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-nose BuildRequires: python3-nose
BuildRequires: python3-mock BuildRequires: python3-mock
BuildRequires: python3-wheel BuildRequires: python3-wheel
BuildRequires: python3-botocore
BuildRequires: python3-jmespath
%endif # with_python3 %endif # with_python3
%description %description
@ -42,7 +47,6 @@ and Amazon EC2.
%package -n python2-%{pypi_name} %package -n python2-%{pypi_name}
Summary: The AWS SDK for Python Summary: The AWS SDK for Python
%{?python_provide:%python_provide python2-%{pypi_name}}
Requires: python-botocore Requires: python-botocore
Requires: python-jmespath Requires: python-jmespath
RequireS: python-futures RequireS: python-futures
@ -58,7 +62,6 @@ and Amazon EC2.
%if 0%{?with_python3} %if 0%{?with_python3}
%package -n python3-%{pypi_name} %package -n python3-%{pypi_name}
Summary: The AWS SDK for Python Summary: The AWS SDK for Python
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3-botocore Requires: python3-botocore
Requires: python3-jmespath Requires: python3-jmespath
%{?python_provide:%python_provide python3-%{pypi_name}} %{?python_provide:%python_provide python3-%{pypi_name}}

Loading…
Cancel
Save