Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bitstruct for openSUSE:Factory checked in at 2021-06-01 10:35:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bitstruct (Old) and /work/SRC/openSUSE:Factory/.python-bitstruct.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-bitstruct" Tue Jun 1 10:35:01 2021 rev:3 rq:895161 version:8.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bitstruct/python-bitstruct.changes 2020-07-21 15:50:34.652309550 +0200 +++ /work/SRC/openSUSE:Factory/.python-bitstruct.new.1898/python-bitstruct.changes 2021-06-01 10:35:28.668610384 +0200 @@ -1,0 +2,5 @@ +Fri May 21 09:39:29 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest_arch macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bitstruct.spec ++++++ --- /var/tmp/diff_new_pack.2BVLRC/_old 2021-06-01 10:35:29.100611120 +0200 +++ /var/tmp/diff_new_pack.2BVLRC/_new 2021-06-01 10:35:29.104611127 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-bitstruct # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2020, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -27,6 +27,7 @@ URL: https://github.com/eerimoq/bitstruct Source: https://files.pythonhosted.org/packages/source/b/bitstruct/bitstruct-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -48,7 +49,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python setup.py test +mv bitstruct bitstruct.hide +%pyunittest_arch discover -v tests %files %{python_files} %license LICENSE