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] - 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