15
0
forked from pool/python-evtx
2019-11-04 14:10:47 +00:00
committed by Git OBS Bridge
parent e05ab2d7ff
commit 79c83b4397

View File

@@ -22,9 +22,11 @@ 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/python-evtx
Source: https://github.com/williballenthin/python-evtx/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pytest4.patch gh#williballenthin/python-evtx#66 mcepl@suse.com
# make the test suite pass under pytest 4
Patch0: pytest4.patch
BuildRequires: %{python_module hexdump}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest}
@@ -48,6 +50,7 @@ inspired by the work of Andreas Schuster and his Perl implementation
%prep
%setup -q
%autopatch -p1
find Evtx -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%build