Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-delegator for
openSUSE:Factory checked in at 2021-05-18 18:27:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-delegator (Old)
and /work/SRC/openSUSE:Factory/.python-delegator.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-delegator"
Tue May 18 18:27:10 2021 rev:2 rq:894003 version:0.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-delegator/python-delegator.changes
2019-03-22 15:01:49.685767925 +0100
+++
/work/SRC/openSUSE:Factory/.python-delegator.new.2988/python-delegator.changes
2021-05-18 18:27:38.302651412 +0200
@@ -1,0 +2,5 @@
+Tue May 18 09:33:12 UTC 2021 - [email protected]
+
+- use %pytest macro
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-delegator.spec ++++++
--- /var/tmp/diff_new_pack.WIwqMT/_old 2021-05-18 18:27:38.710649643 +0200
+++ /var/tmp/diff_new_pack.WIwqMT/_new 2021-05-18 18:27:38.710649643 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-delegator
#
-# 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
@@ -27,11 +27,12 @@
Source:
https://files.pythonhosted.org/packages/source/d/delegator/delegator-%{version}.tar.gz
Patch0: split-readme.patch
Patch1: remove-exceptions-import.patch
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildArch: noarch
Conflicts: python-delegator.py
+BuildArch: noarch
%python_subpackages
%description
@@ -51,7 +52,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD} $python
setup.py test
+%pytest test/tests_delegator.py
%files %{python_files}
%license LICENSE