Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinxcontrib-programoutput
for openSUSE:Factory checked in at 2021-09-23 23:04:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput (Old)
and
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-programoutput"
Thu Sep 23 23:04:05 2021 rev:10 rq:921117 version:0.17
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2021-07-17 23:37:25.225608166 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.1899/python-sphinxcontrib-programoutput.changes
2021-09-23 23:04:12.908330248 +0200
@@ -1,0 +2,5 @@
+Fri Sep 10 11:53:19 UTC 2021 - [email protected]
+
+- %check: use %pyunittest rpm macro
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-programoutput.spec ++++++
--- /var/tmp/diff_new_pack.J437Wv/_old 2021-09-23 23:04:13.360330585 +0200
+++ /var/tmp/diff_new_pack.J437Wv/_new 2021-09-23 23:04:13.360330585 +0200
@@ -17,7 +17,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
Name: python-sphinxcontrib-programoutput
Version: 0.17
Release: 0
@@ -32,9 +31,9 @@
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 1.8
BuildArch: noarch
-%if %{with test}
+# SECTION test requirements
BuildRequires: %{python_module pytest}
-%endif
+# /SECTION
%python_subpackages
%description
@@ -55,12 +54,9 @@
%fdupes %{buildroot}%{$python_sitelib}
}
-%if %{with test}
%check
-# https://github.com/NextThought/sphinxcontrib-programoutput/issues/38
export LANG=en_US.UTF-8
-%python_exec setup.py test
-%endif
+%pyunittest -v src/sphinxcontrib/programoutput/tests/test*.py
%files %{python_files}
%license LICENSE