forked from pool/python-evtx
Fix SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evtx?expand=0&rev=17
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user