diff --git a/python-botocore.spec b/python-botocore.spec index f254bae..e2c88fe 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -1,9 +1,4 @@ -%if 0%{?rhel} && 0%{?rhel} <= 7 -%bcond_without fix_dateutil -%else -%bcond_with fix_dateutil -%endif - +%{?python_enable_dependency_generator} # Enable tests %bcond_with test # Disable documentation generation for now @@ -13,13 +8,12 @@ Name: python-%{pypi_name} Version: 1.12.75 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level, data-driven core of boto 3 License: ASL 2.0 URL: https://github.com/boto/botocore Source0: https://pypi.io/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz -Patch0: 0001-Fix-date-util-version-for-EL7.patch BuildArch: noarch %description @@ -35,7 +29,6 @@ BuildRequires: python3-sphinx BuildRequires: python3-guzzle_sphinx_theme %endif # with docs %if %{with tests} -%{?fc24:BuildRequires: python3-behave} BuildRequires: python3-mock BuildRequires: python3-nose BuildRequires: python3-six @@ -46,14 +39,6 @@ BuildRequires: python3-jmespath BuildRequires: python3-jsonschema BuildRequires: python3-urllib3 %endif # with tests -Requires: python3-jmespath >= 0.7.1 -%if %{with fix_dateutil} -Requires: python3-dateutil >= 1.4 -%else -Requires: python3-dateutil >= 2.1 -%endif # with fix_dateutil -Requires: python3-docutils >= 0.10 -Requires: python3-urllib3 >= 1.20 %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} @@ -69,9 +54,6 @@ Summary: Documentation for %{name} %prep %setup -q -n %{pypi_name}-%{version} -%if %{with fix_dateutil} -%patch0 -p1 -%endif # with fix_dateutil sed -i -e '1 d' botocore/vendored/requests/packages/chardet/chardetect.py sed -i -e '1 d' botocore/vendored/requests/certs.py rm -rf %{pypi_name}.egg-info @@ -95,8 +77,6 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-3 --with-coverage --cover-erase --cover-package botocore --with-xunit --cover-xml -v tests/unit/ tests/functional/ %endif # with tests -%{!?_licensedir:%global license %doc} - %files -n python3-%{pypi_name} %doc README.rst %license LICENSE.txt @@ -108,6 +88,9 @@ nosetests-3 --with-coverage --cover-erase --cover-package botocore --with-xunit %endif # with docs %changelog +* Fri Jan 11 2019 Igor Gnatenko - 1.12.75-3 +- Enable python dependency generator + * Wed Jan 09 2019 Miro HronĨok - 1.12.75-2 - Subpackage python2-botocore has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal