From 20c4f0946862af7e867c7700902fb59de156f19d59a8c219773314d12819c772 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Thu, 30 Apr 2020 02:06:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security:forensics/libvhdi?expand=0&rev=14 --- libvhdi.spec | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/libvhdi.spec b/libvhdi.spec index 69dc571..a39d835 100644 --- a/libvhdi.spec +++ b/libvhdi.spec @@ -98,19 +98,6 @@ libvhdi is a library to access the Virtual Hard Disk (VHD) image format. see li This subpackage contains libraries and header files for developing applications that want to make use of libvhdi. -%package -n python2-%{name} -Summary: Python 2 bindings for libvhdi, a VHD image format parser -License: LGPL-3.0-or-later -Group: Development/Languages/Python -Requires: %{lname} = %{version} -Requires: python -Obsoletes: python-%{name} - -%description -n python2-%{name} -libvhdi is a library to access Virtual Hard Disk (VHD) image format. See libvhdi for details. - -This package contains Python 2 bindings for libvhdi. - %package -n python3-%{name} Summary: Python 3 bindings for libvhdi, a VHD image format parser License: LGPL-3.0-or-later @@ -129,7 +116,7 @@ This package contains Python 3 bindings for libvhdi. 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 @@ -164,12 +151,6 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/libvhdi.pc %{_mandir}/man3/libvhdi.3* -%files -n python2-%{name} -%defattr(-,root,root) -%doc AUTHORS README ChangeLog -%license COPYING -%{python_sitearch}/pyvhdi.so - %files -n python3-%{name} %defattr(-,root,root) %doc AUTHORS README ChangeLog