Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-class-newline for
openSUSE:Factory checked in at 2021-05-19 17:49:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-class-newline (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-class-newline.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-class-newline"
Wed May 19 17:49:26 2021 rev:2 rq:894225 version:1.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-flake8-class-newline/python-flake8-class-newline.changes
2019-07-17 14:27:42.807260445 +0200
+++
/work/SRC/openSUSE:Factory/.python-flake8-class-newline.new.2988/python-flake8-class-newline.changes
2021-05-19 17:49:37.705472163 +0200
@@ -1,0 +2,5 @@
+Wed May 19 06:46:49 UTC 2021 - [email protected]
+
+- use %pytest macro in %check
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-class-newline.spec ++++++
--- /var/tmp/diff_new_pack.aZlDBX/_old 2021-05-19 17:49:38.165470234 +0200
+++ /var/tmp/diff_new_pack.aZlDBX/_new 2021-05-19 17:49:38.169470217 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-class-newline
#
-# 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
@@ -12,7 +12,8 @@
# 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-%{**}}
@@ -21,13 +22,14 @@
Release: 0
License: MIT
Summary: Flake8 lint for newline after class definitions
-Url: https://github.com/AlexanderVanEck/flake8-class-newline
+URL: https://github.com/AlexanderVanEck/flake8-class-newline
Group: Development/Languages/Python
Source:
https://files.pythonhosted.org/packages/source/f/flake8-class-newline/flake8-class-newline-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module flake8}
+BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
Requires: python-flake8
@@ -49,7 +51,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py test
+%pytest
%files %{python_files}
%license LICENSE