From 79c83b43977b27e9769b77c4bf32b344309d93409af8eca2c91fb6da06fc9584 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 4 Nov 2019 14:10:47 +0000 Subject: [PATCH] Fix SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evtx?expand=0&rev=17 --- python-evtx.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-evtx.spec b/python-evtx.spec index fc5df80..dd0ecc2 100644 --- a/python-evtx.spec +++ b/python-evtx.spec @@ -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