From 3fd620780d2b5e5f6b81e6232682c23f1c1b16670c81f0205cd3e55a67245a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 14 Oct 2019 10:31:11 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mutmut?expand=0&rev=2 --- python-mutmut.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/python-mutmut.spec b/python-mutmut.spec index 71e0472..1c6370c 100644 --- a/python-mutmut.spec +++ b/python-mutmut.spec @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -21,31 +22,31 @@ Name: python-mutmut Version: 1.5.1 Release: 0 -License: BSD-3-Clause Summary: Python mutation testing -Url: https://github.com/boxed/mutmut +License: BSD-3-Clause Group: Development/Languages/Python +Url: https://github.com/boxed/mutmut Source: https://files.pythonhosted.org/packages/source/m/mutmut/mutmut-%{version}.tar.gz Patch0: https://github.com/boxed/mutmut/commit/merged_4405bafe.patch Patch1: https://github.com/boxed/mutmut/commit/bd386631.patch#/pr_134.patch # Backport of https://github.com/boxed/mutmut/pull/148 Patch2: pr_148.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module click} +BuildRequires: %{python_module coverage} BuildRequires: %{python_module glob2} BuildRequires: %{python_module junit-xml >= 1.8} +BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module parso} BuildRequires: %{python_module pony} -BuildRequires: %{python_module tri.declarative >= 3.0.0} -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module pytest >= 2.8.7} BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module tri.declarative >= 3.0.0} BuildRequires: %{python_module whatthepatch >= 0.0.5} -BuildRequires: patch BuildRequires: ed +BuildRequires: patch # /SECTION BuildRequires: fdupes Requires: python-click