15
0
forked from pool/python-evtx

Accepting request 707847 from home:pgajdos

- version update to 0.6.1
  * unit tests! also, travis integration with github project.
  * remove hacky python string templating solution to dealing with substitutions.
  * add .xml() and .lxml() to records.
  * lots of fixes to bring code in-line with pep8 and style guide.
  * fix a bunch of bugs due to bad data/encodings.
  * add support for CharacterReferenceNode
  * demonstrate unicode handling issue submitted by @stephensheridan in #37
  * fix hex32/64 node types, identified by @nbareil in #38
  * fix systemtime timestamp parsing, identified by @patatetom in #39

OBS-URL: https://build.opensuse.org/request/show/707847
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evtx?expand=0&rev=12
This commit is contained in:
Cédric Bosdonnat
2019-06-05 13:46:12 +00:00
committed by Git OBS Bridge
parent 82e2ed292d
commit a2c8d4586c
4 changed files with 32 additions and 16 deletions

View File

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

3
python-evtx-0.6.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jun 5 12:55:10 UTC 2019 - pgajdos@suse.com
- version update to 0.6.1
* unit tests! also, travis integration with github project.
* remove hacky python string templating solution to dealing with substitutions.
* add .xml() and .lxml() to records.
* lots of fixes to bring code in-line with pep8 and style guide.
* fix a bunch of bugs due to bad data/encodings.
* add support for CharacterReferenceNode
* demonstrate unicode handling issue submitted by @stephensheridan in #37
* fix hex32/64 node types, identified by @nbareil in #38
* fix systemtime timestamp parsing, identified by @patatetom in #39
-------------------------------------------------------------------
Fri Mar 15 07:02:51 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>

View File

@@ -18,20 +18,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-evtx
Version: 0.5.3b
Version: 0.6.1
Release: 0
Summary: Windows Event Log files parser
License: Apache-2.0
Group: Development/Libraries/Python
URL: https://github.com/williballenthin/%{name}
Source: https://github.com/williballenthin/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
URL: https://github.com/williballenthin/python-evtx
Source: https://github.com/williballenthin/python-evtx/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module hexdump}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if 0%{?suse_version}
Requires: python-hexdump
Requires: python-lxml
BuildArch: noarch
%endif
%python_subpackages
%description
@@ -52,20 +55,19 @@ find Evtx -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%install
%python_install
mkdir -p %{buildroot}%{_bindir}
for script in evtxdump.py evtxinfo.py; do
sed -i -e 's:^#!/usr/bin/env python:#!/usr/bin/python3:' scripts/$script
dos2unix scripts/$script
install -m 0755 scripts/$script %{buildroot}%{_bindir}/$script
for script in scripts/evtx_*.py; do
sed -i -e 's:^#!%{_bindir}/env python:#!%{_bindir}/python3:' $script
dos2unix $script
done
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}
%check
%pytest
%files %{python_files}
%license LICENSE.TXT
%doc README.md
%{python_sitelib}/*
%python3_only %{_bindir}/evtxdump.py
%python3_only %{_bindir}/evtxinfo.py
%python3_only %{_bindir}/evtx_*.py
%changelog