diff --git a/python-pip.changes b/python-pip.changes index edc476c..70d9de6 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 14 00:14:23 UTC 2020 - Benjamin Greiner + +- Fix the condition to really not break Python 2.7 in Leap + ------------------------------------------------------------------- Sun Dec 13 21:23:26 UTC 2020 - Matej Cepl diff --git a/python-pip.spec b/python-pip.spec index 86385d2..7fad626 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -70,7 +70,7 @@ BuildRequires: %{python_module scripttest} BuildRequires: %{python_module setuptools-wheel} BuildRequires: %{python_module virtualenv >= 1.10} BuildRequires: %{python_module wheel} -%if "%{python_flavor}" == "python2" +%if 0%{?suse_version} <= 1500 BuildRequires: %{python_module mock} %endif BuildRequires: ca-certificates