Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-snimpy for openSUSE:Factory checked in at 2022-04-20 17:03:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-snimpy (Old) and /work/SRC/openSUSE:Factory/.python-snimpy.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-snimpy" Wed Apr 20 17:03:47 2022 rev:5 rq:971081 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-snimpy/python-snimpy.changes 2021-06-07 22:44:22.932574467 +0200 +++ /work/SRC/openSUSE:Factory/.python-snimpy.new.1941/python-snimpy.changes 2022-04-20 17:03:50.071180553 +0200 @@ -1,0 +2,5 @@ +Wed Apr 20 09:32:37 UTC 2022 - pgaj...@suse.com + +- do not require python-mock for build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-snimpy.spec ++++++ --- /var/tmp/diff_new_pack.g5LWfh/_old 2022-04-20 17:03:50.635181520 +0200 +++ /var/tmp/diff_new_pack.g5LWfh/_new 2022-04-20 17:03:50.643181534 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-snimpy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2016-2021, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -37,7 +37,6 @@ BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module cffi >= 1.0.0} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pycryptodomex} BuildRequires: %{python_module pysnmp >= 4} BuildRequires: %{python_module setuptools} @@ -87,6 +86,8 @@ %python_clone -a %{buildroot}%{_mandir}/man1/snimpy.1 %check +# https://github.com/vincentbernat/snimpy/issues/98 +sed -i 's:import mock:from unittest import mock:' tests/test_{basictypes,main}.py %python_exec -m unittest discover tests -v %post