diff --git a/python-s3transfer.changes b/python-s3transfer.changes index ae7aafb..e41388d 100644 --- a/python-s3transfer.changes +++ b/python-s3transfer.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 7 07:46:02 UTC 2020 - John Paul Adrian Glaubitz + +- Fix build on SLE-12 + + Add python to BuildRequires for suse_version < 1500 + + Add python-scandir to BuildRequires for suse_version < 1500 + ------------------------------------------------------------------- Fri Mar 13 12:52:07 UTC 2020 - Tomáš Chvátal diff --git a/python-s3transfer.spec b/python-s3transfer.spec index e4860a2..353f961 100644 --- a/python-s3transfer.spec +++ b/python-s3transfer.spec @@ -34,6 +34,10 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module urllib3} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{?suse_version} < 1500 +BuildRequires: %{python_module scandir} +BuildRequires: python +%endif %if %{with python2} BuildRequires: python2-futures >= 2.2.0 %endif