From 0c0492f89b8c4e6a80e4d792aadf5079f3110d0d34fd8a89a8242207318ee48c Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 23 Apr 2019 11:00:09 +0000 Subject: [PATCH] - Add minimal needed versions to BuildRequires Build fails with older python-pytest-mock versions so add the needed checks to avoid that OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphviz?expand=0&rev=12 --- python-graphviz.changes | 7 +++++++ python-graphviz.spec | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) 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