From 1be5232aa724e246f0f4006ddc04a0eadd94e82a09d4b35e077728b844e5ccaf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 20 Aug 2018 08:14:11 +0000 Subject: [PATCH 1/2] - add python-ipaddress dependency for python 2.x OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=46 --- python-urllib3.changes | 5 +++++ python-urllib3.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-urllib3.changes b/python-urllib3.changes index a0a006b..f3f1b18 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 20 08:13:30 UTC 2018 - dmueller@suse.com + +- add python-ipaddress dependency for python 2.x + ------------------------------------------------------------------- Wed Jul 18 09:19:49 UTC 2018 - tchvatal@suse.com diff --git a/python-urllib3.spec b/python-urllib3.spec index f200a0c..87e3e06 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -50,6 +50,10 @@ Recommends: python-idna Recommends: python-ndg-httpsclient Recommends: python-pyOpenSSL %endif +%ifpython2 +BuildRequires: python-ipaddress +Requires: python-ipaddress +%endif %python_subpackages %description From 9c81e7c5c73282fee7d4dfc2358c80bec7f7378894a9a94cceeed79fffdc38f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 20 Aug 2018 08:20:40 +0000 Subject: [PATCH 2/2] - Do not use ifpython2 for BRs where it does not work OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=47 --- python-urllib3.changes | 5 +++++ python-urllib3.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-urllib3.changes b/python-urllib3.changes index f3f1b18..2d04530 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 20 08:19:15 UTC 2018 - tchvatal@suse.com + +- Do not use ifpython2 for BRs where it does not work + ------------------------------------------------------------------- Mon Aug 20 08:13:30 UTC 2018 - dmueller@suse.com diff --git a/python-urllib3.spec b/python-urllib3.spec index 87e3e06..fe8ae17 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -50,8 +50,8 @@ Recommends: python-idna Recommends: python-ndg-httpsclient Recommends: python-pyOpenSSL %endif +BuildRequires: python2-ipaddress %ifpython2 -BuildRequires: python-ipaddress Requires: python-ipaddress %endif %python_subpackages