Enable python dependency generator

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
i9ce
Igor Gnatenko 6 years ago
parent fed9094297
commit 4d015c6a51
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,13 +1,14 @@
%{?python_enable_dependency_generator}
%global pypi_name boto3
Name: python-%{pypi_name}
Version: 1.9.15
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The AWS SDK for Python
License: ASL 2.0
URL: https://github.com/boto/boto3
Source0: https://pypi.io/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Source0: %{pypi_source}
BuildArch: noarch
%description
@ -24,12 +25,9 @@ BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python3-mock
BuildRequires: python3-wheel
BuildRequires: python3-botocore
BuildRequires: python3-jmespath
BuildRequires: python3-s3transfer
Requires: python3-botocore >= 1.10.41
Requires: python3-jmespath >= 0.7.1
Requires: python3-s3transfer >= 0.1.10
BuildRequires: python3dist(botocore)
BuildRequires: python3dist(jmespath)
BuildRequires: python3dist(s3transfer)
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
@ -56,10 +54,13 @@ rm -rf tests/integration
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-*.egg-info/
%changelog
* Thu Dec 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.9.15-3
- Enable python dependency generator
* Thu Dec 20 2018 Miro Hrončok <mhroncok@redhat.com> - 1.9.15-2
- Subpackage python2-boto3 has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

Loading…
Cancel
Save