From e2457ab105da71e1b39b3a3375490d87eda69d2a5ac682c462cbe3219e6c32b8 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Sat, 26 Jun 2021 10:49:37 +0000 Subject: [PATCH] Accepting request 902495 from home:jengelh:branches:security:forensics - Drop python2 module build. OBS-URL: https://build.opensuse.org/request/show/902495 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libevt?expand=0&rev=19 --- libevt.changes | 5 +++++ libevt.spec | 22 ---------------------- 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/libevt.changes b/libevt.changes index 40e80a7..f18ee97 100644 --- a/libevt.changes +++ b/libevt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 26 09:51:54 UTC 2021 - Jan Engelhardt + +- Drop python2 module build. + ------------------------------------------------------------------- Thu May 13 22:52:32 UTC 2021 - Jan Engelhardt diff --git a/libevt.spec b/libevt.spec index fec35d7..6b70746 100644 --- a/libevt.spec +++ b/libevt.spec @@ -16,7 +16,6 @@ # -%bcond_without python2 %define lname libevt1 Name: libevt Version: 20210503 @@ -53,9 +52,6 @@ BuildRequires: pkgconfig(libfwnt) >= 20210421 BuildRequires: pkgconfig(libregf) >= 20210419 BuildRequires: pkgconfig(libuna) >= 20201204 BuildRequires: pkgconfig(libwrc) >= 20210425 -%if %{with python2} -BuildRequires: pkgconfig(python2) -%endif BuildRequires: pkgconfig(python3) %description @@ -95,15 +91,6 @@ libevt is a library to access the Windows Event Log (EVT) format. This subpackage contains libraries and header files for developing applications that want to make use of %name. -%package -n python2-%name -Summary: Python bindings for libevt, a Windows event file parser -License: LGPL-3.0-or-later -Group: Development/Libraries/Python -Obsoletes: python-%name < 20191221 - -%description -n python2-%name -Python bindings for libevt, which can read Windows event files. - %package -n python3-%name Summary: Python bindings for libevt, a Windows event file parser License: LGPL-3.0-or-later @@ -121,9 +108,6 @@ if [ ! -e configure ]; then ./autogen.sh; fi %configure \ --disable-static \ --enable-wide-character-type \ -%if %{with python2} - --enable-python2 \ -%endif --enable-python3 %make_build @@ -151,12 +135,6 @@ find %buildroot -name '*.la' -delete %_libdir/pkgconfig/libevt.pc %_mandir/man3/libevt.3* -%if %{with python2} -%files -n python2-%name -%license COPYING* -%python2_sitearch/pyevt.so -%endif - %files -n python3-%name %license COPYING* %python3_sitearch/pyevt.so