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
This commit is contained in:
Greg Freemyer 2020-04-06 02:52:25 +00:00 committed by Git OBS Bridge
parent 48fa945932
commit 23b7e6ebfb
4 changed files with 37 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:280291bb38446a7ca435744cc91f85ce59020cf8e4cf8114bc3882a24a92e516
size 1887498

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3afe544576bd1a4ce1bdc640865791ed156d8ba6f5b008b5096d395b4553b380
size 1940459

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 6 02:36:35 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
- update to 0~20191221
* Code clean up
* added thread lock support
- add python3 support
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 28 17:12:28 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com> Thu Mar 28 17:12:28 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libevt # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,13 @@
Name: libevt Name: libevt
%define lname libevt1 %define lname libevt1
%define timestamp 20181227 %define timestamp 20191221
Version: 0~%timestamp Version: 0~%timestamp
Release: 0 Release: 0
Summary: Library and tools to access the Windows Event Log (EVT) format Summary: Library and tools to access the Windows Event Log (EVT) format
License: LGPL-3.0-or-later AND GFDL-1.3-or-later License: LGPL-3.0-or-later AND GFDL-1.3-or-later
Group: Productivity/File utilities 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 Source: https://github.com/libyal/libevt/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
Source2: Windows_Event_Log_EVT.pdf Source2: Windows_Event_Log_EVT.pdf
BuildRequires: pkg-config 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 This subpackage contains libraries and header files for developing
applications that want to make use of %name. 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 Summary: Python bindings for libevt, a Windows event file parser
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
Group: Development/Libraries/Python Group: Development/Libraries/Python
BuildRequires: pkgconfig(python2)
Requires: %lname = %version Requires: %lname = %version
Requires: python Obsoletes: python-%name < 20191221
Provides: pyevt = %version
%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. Python bindings for libevt, which can read Windows event files.
%prep %prep
@ -112,7 +122,7 @@ Python bindings for libevt, which can read Windows event files.
cp "%SOURCE2" . cp "%SOURCE2" .
%build %build
%configure --disable-static --enable-wide-character-type --enable-python %configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -143,10 +153,16 @@ find %buildroot -name '*.la' -delete
%_libdir/pkgconfig/libevt.pc %_libdir/pkgconfig/libevt.pc
%_mandir/man3/libevt.3* %_mandir/man3/libevt.3*
%files -n python-%name %files -n python2-%name
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog README %doc AUTHORS ChangeLog README
%license COPYING %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 %changelog