diff --git a/libqcow.changes b/libqcow.changes index 4823556..4bb8ca2 100644 --- a/libqcow.changes +++ b/libqcow.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jan 10 23:50:28 UTC 2018 - Greg.Freemyer@gmail.com + +- fix upgrade issue caused by rename python-* to python2-* + +------------------------------------------------------------------- +Wed Oct 4 20:50:16 UTC 2017 - Greg.Freemyer@gmail.com + +- remove unversioned Provides: pyqcow, + depend on python{23}-libqcow instead + ------------------------------------------------------------------- Sat Feb 25 17:50:19 UTC 2017 - Greg.Freemyer@gmail.com diff --git a/libqcow.spec b/libqcow.spec index 46e16bf..f53395e 100644 --- a/libqcow.spec +++ b/libqcow.spec @@ -1,7 +1,7 @@ # # spec file for package libqcow # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -132,8 +132,9 @@ License: LGPL-3.0+ Group: Development/Languages/Python Requires: python BuildRequires: pkgconfig(python2) -Provides: pyqcow = %{version} Requires: %{lname} = %{version} +Provides: python-%{name} = %{version} +Obsoletes: python-%{name} < %{version} %description -n python2-%{name} Python 2 bindings for libqcow, which can access the QEMU Copy-On-Write (QCOW) image format @@ -144,7 +145,6 @@ License: LGPL-3.0+ Group: Development/Languages/Python Requires: python3 BuildRequires: pkgconfig(python3) -Provides: pyqcow = %{version} Requires: %{lname} = %{version} %description -n python3-%{name} @@ -190,7 +190,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %files -n python2-%{name} %defattr(-,root,root) %doc AUTHORS COPYING README ChangeLog -%{python_sitearch}/pyqcow.so +%{python2_sitearch}/pyqcow.so %files -n python3-%{name} %defattr(-,root,root)