diff --git a/python-graphviz.changes b/python-graphviz.changes index b51db7a..85819af 100644 --- a/python-graphviz.changes +++ b/python-graphviz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 23 10:58:51 UTC 2019 - Thomas Bechtold + +- Add minimal needed versions to BuildRequires + Build fails with older python-pytest-mock versions so add the + needed checks to avoid that + ------------------------------------------------------------------- Tue Dec 4 12:48:43 UTC 2018 - Matej Cepl diff --git a/python-graphviz.spec b/python-graphviz.spec index 765265c..fe70009 100644 --- a/python-graphviz.spec +++ b/python-graphviz.spec @@ -1,7 +1,7 @@ # # spec file for package python-graphviz # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,10 +25,10 @@ License: MIT Group: Development/Languages/Python URL: http://github.com/xflr6/graphviz Source: https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.zip -BuildRequires: %{python_module mock} +BuildRequires: %{python_module mock >= 2} +BuildRequires: %{python_module pytest >= 3.4} BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-mock} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-mock >= 1.8} BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes