From e872210dd40fcf8163119bf63c47e3995694b98ac3239d0c2d276a96443d6f50 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 7 Nov 2018 13:38:50 +0000 Subject: [PATCH] - Fix build for openSUSE Leap 42.3 + urllib3 needs the ssl module, which in Leap 42.3 is delivered by python and not python-base. Set explicit build dependency on python OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-boto3?expand=0&rev=16 --- python-boto3.changes | 7 +++++++ python-boto3.spec | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/python-boto3.changes b/python-boto3.changes index 9649854..dc6d8e4 100644 --- a/python-boto3.changes +++ b/python-boto3.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 7 13:38:22 UTC 2018 - Robert Schweikert + +- Fix build for openSUSE Leap 42.3 + + urllib3 needs the ssl module, which in Leap 42.3 is delivered by python + and not python-base. Set explicit build dependency on python + ------------------------------------------------------------------- Tue Nov 6 14:42:41 UTC 2018 - John Paul Adrian Glaubitz diff --git a/python-boto3.spec b/python-boto3.spec index 3b5cb8d..3ba9dd9 100644 --- a/python-boto3.spec +++ b/python-boto3.spec @@ -32,6 +32,10 @@ BuildRequires: %{python_module s3transfer} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{?suse_version} <= 1315 +# We need the ssl module, which is delivers by python and not python-base +BuildRequires: python +%endif Requires: python-botocore < 1.13.0 Requires: python-botocore >= 1.12.38 Requires: python-jmespath < 1.0.0