Hello community, here is the log from the commit of package python-libvirt-python for openSUSE:Factory checked in at 2020-10-30 11:45:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old) and /work/SRC/openSUSE:Factory/.python-libvirt-python.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libvirt-python" Fri Oct 30 11:45:42 2020 rev:40 rq:844156 version:6.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes 2020-10-15 13:44:29.341155065 +0200 +++ /work/SRC/openSUSE:Factory/.python-libvirt-python.new.3463/python-libvirt-python.changes 2020-10-30 11:45:46.113606420 +0100 @@ -1,0 +2,9 @@ +Fri Oct 23 19:56:04 UTC 2020 - Benjamin Greiner <c...@bnavigator.de> + +- Use %pycache_only %python_sitelib instead of %python3_sitelib in + order to support multiple python3 flavors + gh#openSUSE/python-rpm-macros#66 +- Enable test suite. It is mandatory for python packages and + upstream's next major version update will have more tests. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-libvirt-python.spec ++++++ --- /var/tmp/diff_new_pack.YoLm3C/_old 2020-10-30 11:45:47.321607490 +0100 +++ /var/tmp/diff_new_pack.YoLm3C/_new 2020-10-30 11:45:47.325607493 +0100 @@ -19,7 +19,7 @@ # No longer build for python2. Support was dropped upstream in the 6.0.0 release %define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define srcname libvirt-python Name: python-libvirt-python URL: https://libvirt.org/ @@ -37,6 +37,7 @@ BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module xml} %ifpython2 Provides: libvirt-python = %{version} @@ -68,9 +69,13 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +%pytest_arch + %files %{python_files} %doc ChangeLog AUTHORS README COPYING COPYING.LESSER examples/ -%{python_sitearch}/* -%pycache_only %{python3_sitearch}/__pycache__/* +%{python_sitearch}/libvirt* +%{python_sitearch}/libvirt_python-%{version}*info +%pycache_only %{python_sitearch}/__pycache__/libvirt* %changelog