diff --git a/python-libvirt-python.changes b/python-libvirt-python.changes index fe61bf3..8702a7b 100644 --- a/python-libvirt-python.changes +++ b/python-libvirt-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 13 09:03:07 UTC 2017 - tbechtold@suse.com + +- Only the python2 package should provide libvirt-python . + ------------------------------------------------------------------- Wed Aug 2 04:27:36 UTC 2017 - jfehlig@suse.com diff --git a/python-libvirt-python.spec b/python-libvirt-python.spec index 775747a..330c4f5 100644 --- a/python-libvirt-python.spec +++ b/python-libvirt-python.spec @@ -17,8 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-libvirt-python %define srcname libvirt-python +Name: python-libvirt-python Url: http://libvirt.org/ Version: 3.6.0 Release: 0 @@ -34,9 +34,10 @@ BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} BuildRequires: %{python_module xml} - +%ifpython2 Provides: libvirt-python = %{version} Obsoletes: libvirt-python < %{version} +%endif %python_subpackages