Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-verboselogs for 
openSUSE:Factory checked in at 2022-04-16 00:14:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-verboselogs (Old)
 and      /work/SRC/openSUSE:Factory/.python-verboselogs.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-verboselogs"

Sat Apr 16 00:14:30 2022 rev:5 rq:970228 version:1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-verboselogs/python-verboselogs.changes    
2018-12-24 11:45:50.801215239 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-verboselogs.new.1941/python-verboselogs.changes
  2022-04-16 00:14:53.653700772 +0200
@@ -1,0 +2,5 @@
+Thu Apr 14 11:00:24 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-verboselogs.spec ++++++
--- /var/tmp/diff_new_pack.Z8oGxZ/_old  2022-04-16 00:14:54.037701286 +0200
+++ /var/tmp/diff_new_pack.Z8oGxZ/_new  2022-04-16 00:14:54.041701291 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-verboselogs
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,10 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/xolox/python-verboselogs
 Source:         
https://files.pythonhosted.org/packages/source/v/verboselogs/verboselogs-%{version}.tar.gz
+Patch0:         verboselogs-pylint2.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Patch0:         verboselogs-pylint2.patch
 Recommends:     python-pylint
 BuildArch:      noarch
 # SECTION test requirements
@@ -61,7 +61,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand py.test-%{$python_bin_suffix} verboselogs/tests.py
+# https://github.com/xolox/python-verboselogs/issues/12
+sed -i 's:import mock:from unittest import mock:' verboselogs/tests.py
+%pytest verboselogs/tests.py
 
 %files %{python_files}
 %doc README.rst

Reply via email to