From 32df39f11e91ae136b5eb1422f8aee56fc6e45debec825b23a58a8eea4e93931 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 7 Apr 2020 13:18:41 +0000 Subject: [PATCH] Accepting request 791925 from home:glaubitz:branches:devel:languages:python:aws - Fix build on SLE-12 + Add python to BuildRequires for suse_version < 1500 + Add python-scandir to BuildRequires for suse_version < 1500 OBS-URL: https://build.opensuse.org/request/show/791925 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-s3transfer?expand=0&rev=19 --- python-s3transfer.changes | 7 +++++++ python-s3transfer.spec | 4 ++++ 2 files changed, 11 insertions(+) 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