Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-zdaemon"

Sat Apr 16 00:14:15 2022 rev:23 rq:970193 version:4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zdaemon/python-zdaemon.changes    
2021-10-16 22:47:57.492707996 +0200
+++ /work/SRC/openSUSE:Factory/.python-zdaemon.new.1941/python-zdaemon.changes  
2022-04-16 00:14:36.081677309 +0200
@@ -1,0 +2,5 @@
+Thu Apr 14 09:34:25 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-zdaemon.spec ++++++
--- /var/tmp/diff_new_pack.YDFu7F/_old  2022-04-16 00:14:36.541677924 +0200
+++ /var/tmp/diff_new_pack.YDFu7F/_new  2022-04-16 00:14:36.545677930 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# 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
@@ -29,7 +29,6 @@
 Patch0:         obs-timeout.patch
 BuildRequires:  %{python_module ZConfig}
 BuildRequires:  %{python_module manuel}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module zc.customdoctests}
 BuildRequires:  %{python_module zope.testing}
@@ -65,6 +64,8 @@
 %python_clone -a %{buildroot}%{_bindir}/zdaemon
 
 %check
+# https://github.com/zopefoundation/zdaemon/issues/28
+sed -i 's:import mock:from unittest import mock:' src/zdaemon/tests/testuser.py
 pushd src
 %pyunittest discover -v
 

Reply via email to