From 7bef21d34172e4253db12965831d6c50ba5f0a54f01b3f14eef0d32732cb4c83 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Thu, 30 Apr 2020 01:56:08 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security:forensics/libqcow?expand=0&rev=15 --- libqcow.spec | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/libqcow.spec b/libqcow.spec index 76bfdd6..12c9972 100644 --- a/libqcow.spec +++ b/libqcow.spec @@ -126,19 +126,6 @@ libqcow is a library to access the QEMU Copy-On-Write (QCOW) image format. This subpackage contains libraries and header files for developing applications that want to make use of libqcow. -%package -n python2-%{name} -Summary: Python 2 bindings for libqcow -License: LGPL-3.0-or-later -Group: Development/Languages/Python -Requires: python -BuildRequires: pkgconfig(python2) -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 - %package -n python3-%{name} Summary: Python 3 bindings for libqcow License: LGPL-3.0-or-later @@ -155,7 +142,7 @@ Python 3 bindings for libqcow, which can access the QEMU Copy-On-Write (QCOW) im cp "%{SOURCE2}" . %build -%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 +%configure --disable-static --enable-wide-character-type --enable-python3 make %{?_smp_mflags} %install @@ -190,12 +177,6 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/libqcow.pc %{_mandir}/man3/libqcow.3* -%files -n python2-%{name} -%defattr(-,root,root) -%doc AUTHORS README ChangeLog -%license COPYING -%{python_sitearch}/pyqcow.so - %files -n python3-%{name} %defattr(-,root,root) %doc AUTHORS README ChangeLog