Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cassowary for
openSUSE:Factory checked in at 2021-05-19 17:49:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cassowary (Old)
and /work/SRC/openSUSE:Factory/.python-cassowary.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cassowary"
Wed May 19 17:49:36 2021 rev:4 rq:894289 version:0.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cassowary/python-cassowary.changes
2020-03-31 17:14:29.183598683 +0200
+++
/work/SRC/openSUSE:Factory/.python-cassowary.new.2988/python-cassowary.changes
2021-05-19 17:49:56.329394064 +0200
@@ -1,0 +2,5 @@
+Wed May 19 08:42:53 UTC 2021 - [email protected]
+
+- use %pytest macro in %check
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cassowary.spec ++++++
--- /var/tmp/diff_new_pack.cCPKgD/_old 2021-05-19 17:49:56.725392403 +0200
+++ /var/tmp/diff_new_pack.cCPKgD/_new 2021-05-19 17:49:56.729392387 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cassowary
#
-# Copyright (c) 2020 SUSE LLC
+# 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,7 +17,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
Name: python-cassowary
Version: 0.5.2
Release: 0
@@ -26,6 +25,7 @@
Group: Development/Languages/Python
URL: https://github.com/brodderickrodriguez/cassowary
Source:
https://files.pythonhosted.org/packages/source/c/cassowary/cassowary-%{version}.tar.gz
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -47,10 +47,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