Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-user_agent for
openSUSE:Factory checked in at 2021-08-28 22:29:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-user_agent (Old)
and /work/SRC/openSUSE:Factory/.python-user_agent.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-user_agent"
Sat Aug 28 22:29:25 2021 rev:6 rq:914750 version:0.1.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-user_agent/python-user_agent.changes
2020-05-19 14:48:19.104049066 +0200
+++
/work/SRC/openSUSE:Factory/.python-user_agent.new.1899/python-user_agent.changes
2021-08-28 22:29:50.146019798 +0200
@@ -1,0 +2,5 @@
+Thu Aug 26 08:51:30 UTC 2021 - [email protected]
+
+- %check: really test the package, use %pytest rpm macro
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-user_agent.spec ++++++
--- /var/tmp/diff_new_pack.y6SIV5/_old 2021-08-28 22:29:50.554020252 +0200
+++ /var/tmp/diff_new_pack.y6SIV5/_new 2021-08-28 22:29:50.558020256 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-user_agent
#
-# 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
@@ -31,7 +31,7 @@
BuildRequires: python-rpm-macros
Requires: python-six
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
@@ -53,7 +53,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py test
+# test_changelog, test_ua_script*: no ua in the PATH
+%pytest -k 'not (test_ua_script or test_changelog)'
%post
%python_install_alternative ua