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
This commit is contained in:
Greg Freemyer 2018-01-10 23:53:50 +00:00 committed by Git OBS Bridge
parent 930a3b8a8a
commit 7542f54d6a
2 changed files with 15 additions and 4 deletions

View File

@ -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

View File

@ -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)