Accepting request 792571 from security:forensics

OBS-URL: https://build.opensuse.org/request/show/792571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libevtx?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2020-04-09 21:15:09 +00:00 committed by Git OBS Bridge
commit b796e43ad6
4 changed files with 39 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Apr 7 18:49:27 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
- update to v0~20191221
* Added binary XML creation time to API and evtxexport #21
* worked on tests
- rename python-libevtx to python2-libevtx
- add python3 subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 28 17:20:30 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com> Thu Mar 28 17:20:30 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libevtx # spec file for package libevtx
# #
# 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: libevtx Name: libevtx
%define lname libevtx1 %define lname libevtx1
%define timestamp 20181227 %define timestamp 20191221
Version: 0~%timestamp Version: 0~%timestamp
Release: 0 Release: 0
Summary: Library and tools to access the Windows XML Event Log (EVTX) format Summary: Library and tools to access the Windows XML Event Log (EVTX) format
License: LGPL-3.0-or-later AND GFDL-1.3-only License: LGPL-3.0-or-later AND GFDL-1.3-only
Group: Productivity/File utilities Group: Productivity/File utilities
Url: https://github.com/libyal/libevtx/wiki URL: https://github.com/libyal/libevtx/wiki
Source: https://github.com/libyal/libevtx/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz Source: https://github.com/libyal/libevtx/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
Source2: Windows_XML_Event_Log_EVTX.pdf Source2: Windows_XML_Event_Log_EVTX.pdf
BuildRequires: pkg-config BuildRequires: pkg-config
@ -92,15 +92,26 @@ libevtx is a library to access the Windows XML Event log 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: Python2 bindings for libevtx
License: LGPL-3.0-or-later
Group: Development/Libraries/Python
Requires: %lname = %version
BuildRequires: pkgconfig(python2)
Obsoletes: pyevtx <= 20191221
Obsoletes: python-%name <= 20191221
%description -n python2-%name
Python bindings for libevtx, which can read Windows XML Event files.
%package -n python3-%name
Summary: Python bindings for libevtx Summary: Python bindings for libevtx
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: %lname = %version Requires: %lname = %version
Requires: python BuildRequires: pkgconfig(python3)
Provides: pyevtx = %version
%description -n python-%name %description -n python3-%name
Python bindings for libevtx, which can read Windows XML Event files. Python bindings for libevtx, which can read Windows XML Event files.
%prep %prep
@ -108,7 +119,7 @@ Python bindings for libevtx, which can read Windows XML 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
@ -138,10 +149,16 @@ find %buildroot -name '*.la' -delete
%_libdir/pkgconfig/libevtx.pc %_libdir/pkgconfig/libevtx.pc
%_mandir/man3/libevtx.3* %_mandir/man3/libevtx.3*
%files -n python-%name %files -n python2-%name
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS README %doc AUTHORS README
%license COPYING %license COPYING
%python_sitearch/pyevtx.so %python2_sitearch/pyevtx.so
%files -n python3-%name
%defattr(-,root,root)
%doc AUTHORS README
%license COPYING
%python3_sitearch/pyevtx.so
%changelog %changelog