Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-zc.lockfile for openSUSE:Factory checked in at 2021-09-26 21:48:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zc.lockfile (Old) and /work/SRC/openSUSE:Factory/.python-zc.lockfile.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zc.lockfile" Sun Sep 26 21:48:38 2021 rev:7 rq:921148 version:2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zc.lockfile/python-zc.lockfile.changes 2019-08-16 15:27:27.282009559 +0200 +++ /work/SRC/openSUSE:Factory/.python-zc.lockfile.new.1899/python-zc.lockfile.changes 2021-09-26 21:49:28.366834008 +0200 @@ -1,0 +2,5 @@ +Thu Sep 23 09:53:37 UTC 2021 - [email protected] + +- %check: do not use python setup.py test + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zc.lockfile.spec ++++++ --- /var/tmp/diff_new_pack.7xf6ru/_old 2021-09-26 21:49:28.738834468 +0200 +++ /var/tmp/diff_new_pack.7xf6ru/_new 2021-09-26 21:49:28.742834473 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-zc.lockfile # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -26,11 +26,13 @@ Group: Development/Libraries/Python URL: https://pypi.python.org/pypi/zc.lockfile Source: https://files.pythonhosted.org/packages/source/z/zc.lockfile/zc.lockfile-%{version}.tar.gz -BuildRequires: %{python_module mock} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.testing} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{?suse_version} <= 1500 +BuildRequires: python2-mock +%endif Provides: python-zc-lockfile = %{version} Obsoletes: python-zc-lockfile < %{version} BuildArch: noarch @@ -61,7 +63,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +cd build/lib +%{python_expand export PYTHONPATH='.' +$python -m unittest -v zc.lockfile.tests +$python -m doctest -v zc/lockfile/README.txt +} %files %{python_files} %license LICENSE.txt
