Accepting request 942813 from devel:languages:python:pytest

OBS-URL: https://build.opensuse.org/request/show/942813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mockito?expand=0&rev=2
This commit is contained in:
2021-12-28 11:26:18 +00:00
committed by Git OBS Bridge
2 changed files with 15 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 23 09:06:19 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Use proper python-* requires instead of python_module: Do not
require all python flavors.
-------------------------------------------------------------------
Thu Dec 2 21:09:15 UTC 2021 - Fabrice BAUZAC-STEHLY <noon@mykolab.com>

View File

@@ -1,6 +1,7 @@
#
# spec file
# spec file for package python-pytest-mockito
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2021 Fabrice Bauzac-Stehly
#
# All modifications and additions to the file contributed by third parties
@@ -13,6 +14,8 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -27,15 +30,15 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/kaste/pytest-mockito
Source: https://github.com/kaste/pytest-mockito/archive/refs/tags/%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module mockito}
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates
Requires: python
Requires: %{python_module pytest}
Requires: %{python_module mockito}
Requires: python-mockito
Requires: python-pytest
BuildArch: noarch
%python_subpackages