Hello community,

here is the log from the commit of package python-mock-open for 
openSUSE:Factory checked in at 2020-12-14 18:09:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mock-open (Old)
 and      /work/SRC/openSUSE:Factory/.python-mock-open.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mock-open"

Mon Dec 14 18:09:17 2020 rev:2 rq:855663 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mock-open/python-mock-open.changes        
2020-10-13 15:32:25.068949422 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-mock-open.new.2328/python-mock-open.changes  
    2020-12-14 18:09:43.707661578 +0100
@@ -1,0 +2,6 @@
+Mon Dec 14 01:05:48 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Requires mock for Python2/Leap
+- run spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-mock-open.spec ++++++
--- /var/tmp/diff_new_pack.xlSDL2/_old  2020-12-14 18:09:44.235662102 +0100
+++ /var/tmp/diff_new_pack.xlSDL2/_new  2020-12-14 18:09:44.239662106 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mock-open
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,29 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-mock-open
 Version:        1.4.0
 Release:        0
-License:        MIT
 Summary:        A better mock for file I/O
-Url:            http://github.com/nivbend/mock-open
+License:        MIT
 Group:          Development/Languages/Python
+URL:            https://github.com/nivbend/mock-open
 Source:         
https://files.pythonhosted.org/packages/source/m/mock-open/mock-open-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-
+%if 0%{?suse_version} <= 1500
+BuildRequires:  python-mock
+%endif
+%ifpython2
+Requires:       python-mock
+%endif
 %python_subpackages
 
 %description
@@ -45,7 +51,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pyunittest -v
 
 %files %{python_files}
 %doc README.md
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to