Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4bb653ba25 | |||
| 19410226df | |||
| aae123a857 | |||
| e0503cc6fa |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ecf3c1736ec9e080ddd1c64b6dad23c756e20d54bd30acc21245b9706258fdd9
|
||||
size 446141
|
||||
3
python-evtx-0.8.0.tar.gz
Normal file
3
python-evtx-0.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f69fae1597d3a0b2cf738fd2fbe42d69ebd8ca1c2d0aa4569cce7884f524231d
|
||||
size 447348
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 01:30:09 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 23 07:56:38 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.8.0
|
||||
* Remove support for Python 2.7 and specify minimum supported version is 3.8.
|
||||
Use black/isort/ruff to ensure the consistency of the code.
|
||||
* Fixed issue w/ Python 3 by @forensenellanebbia in #75
|
||||
* Fix file names in README.md by @maehw in #79
|
||||
* Add JSON dump functionality by @ajread4 in #82
|
||||
* add missing comma to array by @snipcodeit in #83
|
||||
* weaken the dependency rules for use with python3+Fedora by @xambroz in #84
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 8 11:04:39 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-evtx
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,11 +22,9 @@
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define commands dump dump_chunk_slack eid_record_numbers extract_record filter_records info record_structure structure templates
|
||||
%bcond_without python2
|
||||
%define commands dump dump_json dump_chunk_slack eid_record_numbers extract_record filter_records info record_structure structure templates
|
||||
Name: python-evtx
|
||||
Version: 0.7.4
|
||||
Version: 0.8.0
|
||||
Release: 0
|
||||
Summary: Windows Event Log files parser
|
||||
License: Apache-2.0
|
||||
@@ -34,27 +32,21 @@ 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 pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-xml
|
||||
%endif
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
Requires: python-hexdump
|
||||
Requires: python-lxml
|
||||
Requires: python-six
|
||||
%ifpython2
|
||||
Requires: python-xml
|
||||
%endif
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -69,16 +61,15 @@ inspired by the work of Andreas Schuster and his Perl implementation
|
||||
"Parse-Evtx".
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
%autosetup -p1
|
||||
|
||||
find Evtx -name "*.py" | xargs sed -i '1 { /^#!/ d }'
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
for c in %{commands}; do
|
||||
%python_clone -a %{buildroot}%{_bindir}/evtx_$c.py
|
||||
done
|
||||
@@ -107,7 +98,7 @@ end}
|
||||
%license LICENSE.TXT
|
||||
%doc README.md
|
||||
%{python_sitelib}/Evtx
|
||||
%{python_sitelib}/python_evtx-%{version}*-info
|
||||
%{python_sitelib}/python_evtx-%{version}.dist-info
|
||||
%{lua:for c in rpm.expand("%{commands}"):gmatch("%S+") do
|
||||
print(rpm.expand("%python_alternative %{_bindir}/evtx_" .. c .. ".py"))
|
||||
end}
|
||||
|
||||
Reference in New Issue
Block a user