From 7542f54d6a73a6a5cec3ff6587ec6c10dbce53a51885a85e6ce593c4cc839c4d Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Wed, 10 Jan 2018 23:53:50 +0000 Subject: [PATCH] Accepting request 563486 from home:gregfreemyer:Tools-for-forensic-boot-cd - fix upgrade issue caused by rename python-* to python2-* - remove unversioned Provides: pyqcow, depend on python{23}-libqcow instead OBS-URL: https://build.opensuse.org/request/show/563486 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libqcow?expand=0&rev=10 --- libqcow.changes | 11 +++++++++++ libqcow.spec | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) 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)