Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-rawkit"

Sat Apr 30 00:45:23 2022 rev:4 rq:973775 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rawkit/python-rawkit.changes      
2019-08-22 10:55:57.833670967 +0200
+++ /work/SRC/openSUSE:Factory/.python-rawkit.new.1538/python-rawkit.changes    
2022-04-30 00:46:09.490983678 +0200
@@ -1,0 +2,5 @@
+Thu Apr 28 15:36:55 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-rawkit.spec ++++++
--- /var/tmp/diff_new_pack.iWb5LN/_old  2022-04-30 00:46:09.946984074 +0200
+++ /var/tmp/diff_new_pack.iWb5LN/_new  2022-04-30 00:46:09.950984077 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rawkit
 #
-# Copyright (c) 2019 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
@@ -26,7 +26,6 @@
 URL:            https://github.com/photoshell/rawkit
 Source0:        
https://files.pythonhosted.org/packages/source/r/rawkit/rawkit-%{version}.tar.gz
 Patch0:         python37.patch
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -50,6 +49,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# This repository has been archived by the owner. It is now read-only.
+sed -i 's:import mock:from unittest import mock:' 
tests/unit/{bindings,raw,util}_test.py
+sed -i 's:from mock:from unittest.mock:' tests/unit/options_test.py
 %pytest
 
 %files %{python_files}

Reply via email to