diff --git a/python-psutil.changes b/python-psutil.changes index b1a12d8..7f091d8 100644 --- a/python-psutil.changes +++ b/python-psutil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 11 12:19:05 UTC 2020 - Benjamin Greiner + +- Only require unittest2 for Leap. + ------------------------------------------------------------------- Fri Dec 11 11:36:23 UTC 2020 - Andreas Schneider diff --git a/python-psutil.spec b/python-psutil.spec index f8339d2..ae283b6 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -41,7 +41,9 @@ BuildRequires: python-rpm-macros Requires: net-tools Requires: procps %if %{with test} +%if 0%{suse_version} < 1550 BuildRequires: %{python_module unittest2} +%endif BuildRequires: net-tools BuildRequires: procps %if %{with python2}