Accepting request 802298 from security:forensics

- remove python2 subpackage.  Python2 is no longer in factory.

OBS-URL: https://build.opensuse.org/request/show/802298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqcow?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2020-05-11 11:40:23 +00:00 committed by Git OBS Bridge
commit 76054eec8e
2 changed files with 6 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 9 18:58:13 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
- remove python2 subpackage. Python2 is no longer in factory.
-------------------------------------------------------------------
Sun Jun 2 19:15:36 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>

View File

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