Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-mockito for openSUSE:Factory checked in at 2021-12-28 12:26:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-mockito (Old) and /work/SRC/openSUSE:Factory/.python-pytest-mockito.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-mockito" Tue Dec 28 12:26:18 2021 rev:2 rq:942813 version:0.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-mockito/python-pytest-mockito.changes 2021-12-03 20:35:56.852102750 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-mockito.new.2520/python-pytest-mockito.changes 2021-12-28 12:26:51.392494810 +0100 @@ -1,0 +2,6 @@ +Thu Dec 23 09:06:19 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org> + +- Use proper python-* requires instead of python_module: Do not + require all python flavors. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-mockito.spec ++++++ --- /var/tmp/diff_new_pack.dAbbX9/_old 2021-12-28 12:26:51.804495121 +0100 +++ /var/tmp/diff_new_pack.dAbbX9/_new 2021-12-28 12:26:51.808495125 +0100 @@ -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 @@ 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