From 23b7e6ebfb5e736876864e6c57bb2dae465b0f5958679831ac9bc11adee22379 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Mon, 6 Apr 2020 02:52:25 +0000 Subject: [PATCH] Accepting request 791595 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to 0~20191221 * Code clean up * added thread lock support - add python3 support OBS-URL: https://build.opensuse.org/request/show/791595 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libevt?expand=0&rev=11 --- libevt-alpha-20181227.tar.gz | 3 --- libevt-alpha-20191221.tar.gz | 3 +++ libevt.changes | 8 ++++++++ libevt.spec | 36 ++++++++++++++++++++++++++---------- 4 files changed, 37 insertions(+), 13 deletions(-) delete mode 100644 libevt-alpha-20181227.tar.gz create mode 100644 libevt-alpha-20191221.tar.gz diff --git a/libevt-alpha-20181227.tar.gz b/libevt-alpha-20181227.tar.gz deleted file mode 100644 index f12fb2b..0000000 --- a/libevt-alpha-20181227.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:280291bb38446a7ca435744cc91f85ce59020cf8e4cf8114bc3882a24a92e516 -size 1887498 diff --git a/libevt-alpha-20191221.tar.gz b/libevt-alpha-20191221.tar.gz new file mode 100644 index 0000000..3ac3156 --- /dev/null +++ b/libevt-alpha-20191221.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3afe544576bd1a4ce1bdc640865791ed156d8ba6f5b008b5096d395b4553b380 +size 1940459 diff --git a/libevt.changes b/libevt.changes index 13e4720..5cc82fc 100644 --- a/libevt.changes +++ b/libevt.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Apr 6 02:36:35 UTC 2020 - Greg Freemyer + +- update to 0~20191221 + * Code clean up + * added thread lock support +- add python3 support + ------------------------------------------------------------------- Thu Mar 28 17:12:28 UTC 2019 - Greg Freemyer diff --git a/libevt.spec b/libevt.spec index d572544..c07d051 100644 --- a/libevt.spec +++ b/libevt.spec @@ -1,7 +1,7 @@ # # spec file for package libevt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ Name: libevt %define lname libevt1 -%define timestamp 20181227 +%define timestamp 20191221 Version: 0~%timestamp Release: 0 Summary: Library and tools to access the Windows Event Log (EVT) format License: LGPL-3.0-or-later AND GFDL-1.3-or-later Group: Productivity/File utilities -Url: https://github.com/libyal/libevt/wiki +URL: https://github.com/libyal/libevt/wiki Source: https://github.com/libyal/libevt/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz Source2: Windows_Event_Log_EVT.pdf BuildRequires: pkg-config @@ -96,15 +96,25 @@ 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 python-%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 +BuildRequires: pkgconfig(python2) Requires: %lname = %version -Requires: python -Provides: pyevt = %version +Obsoletes: python-%name < 20191221 -%description -n python-%name +%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 +Group: Development/Libraries/Python +BuildRequires: pkgconfig(python3) +Requires: %lname = %version + +%description -n python3-%name Python bindings for libevt, which can read Windows event files. %prep @@ -112,7 +122,7 @@ Python bindings for libevt, which can read Windows event files. cp "%SOURCE2" . %build -%configure --disable-static --enable-wide-character-type --enable-python +%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 make %{?_smp_mflags} %install @@ -143,10 +153,16 @@ find %buildroot -name '*.la' -delete %_libdir/pkgconfig/libevt.pc %_mandir/man3/libevt.3* -%files -n python-%name +%files -n python2-%name %defattr(-,root,root) %doc AUTHORS ChangeLog README %license COPYING -%python_sitearch/pyevt.so +%python2_sitearch/pyevt.so + +%files -n python3-%name +%defattr(-,root,root) +%doc AUTHORS ChangeLog README +%license COPYING +%python3_sitearch/pyevt.so %changelog