Accepting request 942208 from home:dimstar:Factory

- Use proper python-* requires instead of python_module: Do not
  require all python flavors.

OBS-URL: https://build.opensuse.org/request/show/942208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mockito?expand=0&rev=3
This commit is contained in:
2021-12-27 16:45:51 +00:00
committed by Git OBS Bridge
parent 2df8bfed4d
commit 875029b0c8
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> 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 # Copyright (c) 2021 Fabrice Bauzac-Stehly
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -13,6 +14,8 @@
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -27,15 +30,15 @@ License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/kaste/pytest-mockito URL: https://github.com/kaste/pytest-mockito
Source: https://github.com/kaste/pytest-mockito/archive/refs/tags/%{version}.tar.gz 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_module mockito}
BuildRequires: python-rpm-macros BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates Requires: ca-certificates
Requires: python Requires: python
Requires: %{python_module pytest} Requires: python-mockito
Requires: %{python_module mockito} Requires: python-pytest
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages