diff --git a/python-boto3.spec b/python-boto3.spec index 98755b1..4e2e63d 100644 --- a/python-boto3.spec +++ b/python-boto3.spec @@ -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 - 1.9.15-3 +- Enable python dependency generator + * Thu Dec 20 2018 Miro HronĨok - 1.9.15-2 - Subpackage python2-boto3 has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal