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