From 2ff10efcc357d2ea03a627557fefd9dc29c7f41ea690ac95dc90623685472489 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Wed, 14 Oct 2020 02:52:12 +0000 Subject: [PATCH] Accepting request 841598 from home:dimstar:Factory - Only buildRequire python2-* when also using python, aka python2. OBS-URL: https://build.opensuse.org/request/show/841598 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=5 --- python-geopy.changes | 5 +++++ python-geopy.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-geopy.changes b/python-geopy.changes index f6818eb..6a861df 100644 --- a/python-geopy.changes +++ b/python-geopy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 13 16:34:02 UTC 2020 - Dominique Leuenberger + +- Only buildRequire python2-* when also using python, aka python2. + ------------------------------------------------------------------- Tue Aug 27 07:00:00 UTC 2019 - Jan Engelhardt diff --git a/python-geopy.spec b/python-geopy.spec index d7fefb5..c316520 100644 --- a/python-geopy.spec +++ b/python-geopy.spec @@ -33,8 +33,8 @@ BuildRequires: %{python_module pytest >= 3.10} BuildRequires: %{python_module pytz} BuildRequires: %{python_module six} BuildRequires: %{python_module xml} -BuildRequires: python2-contextlib2 -BuildRequires: python2-statistics +BuildRequires: (python2-contextlib2 if python) +BuildRequires: (python2-statistics if python) # /SECTION BuildRequires: fdupes Requires: python-geographiclib >= 1.49