Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pilkit for openSUSE:Factory 
checked in at 2021-06-02 22:11:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pilkit (Old)
 and      /work/SRC/openSUSE:Factory/.python-pilkit.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pilkit"

Wed Jun  2 22:11:29 2021 rev:4 rq:896631 version:2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pilkit/python-pilkit.changes      
2019-01-21 11:01:51.847158000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pilkit.new.1898/python-pilkit.changes    
2021-06-02 22:11:52.436151071 +0200
@@ -1,0 +2,5 @@
+Tue Jun  1 08:51:39 UTC 2021 - [email protected]
+
+- %check: use %pytest rpm macro
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pilkit.spec ++++++
--- /var/tmp/diff_new_pack.GBRD4t/_old  2021-06-02 22:11:54.092153797 +0200
+++ /var/tmp/diff_new_pack.GBRD4t/_new  2021-06-02 22:11:54.092153797 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pilkit
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,27 +17,25 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
 Name:           python-pilkit
 Version:        2.0
 Release:        0
 Summary:        A collection of utilities and processors for the Python 
Imaging Libary
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-URL:            http://github.com/matthewwithanm/pilkit/
+URL:            https://github.com/matthewwithanm/pilkit/
 Source:         
https://files.pythonhosted.org/packages/source/p/pilkit/pilkit-%{version}.tar.gz
 Patch0:         pil-fix-test.patch
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 # SECTION test requirements
-%if %{with test}
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module mock >= 1.0.1}
 BuildRequires:  %{python_module nose >= 1.3.6}
 BuildRequires:  %{python_module nose-progressive >= 1.5.1}
-%endif
 # /SECTION
 %python_subpackages
 
@@ -59,10 +57,8 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
-%python_exec setup.py test
-%endif
+%pytest
 
 %files %{python_files}
 %license LICENSE

Reply via email to