diff --git a/python-path.spec b/python-path.spec index dc86386..f59ae89 100644 --- a/python-path.spec +++ b/python-path.spec @@ -48,6 +48,7 @@ Obsoletes: python-path.py < %{version}-%{release} %if %{with test} # use a multibuild test flavor so that there is no circular dependency with pytest BuildRequires: %{python_module pytest} +BuildRequires: %{python_module path >= %{version}} %endif %python_subpackages