1
0

7 Commits

Author SHA256 Message Date
81076b7d8c Accepting request 1288420 from security:forensics
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1288420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oletools?expand=0&rev=9
2025-06-26 09:38:30 +00:00
8d413d47f8 Accepting request 1286479 from home:StevenK:branches:security:forensics
- Use pyproject macros to build and install.
- Do not ship docs in the Python sitelib.

OBS-URL: https://build.opensuse.org/request/show/1286479
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-oletools?expand=0&rev=5
2025-06-18 07:19:50 +00:00
145ffb54d0 Accepting request 1219521 from security:forensics
removed unknown file, should be sane now

OBS-URL: https://build.opensuse.org/request/show/1219521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oletools?expand=0&rev=8
2024-10-30 16:40:18 +00:00
42fb245202 OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-oletools?expand=0&rev=4 2024-10-30 10:21:06 +00:00
ddda8bdafa - Enable sle15_python_module_pythons.
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-oletools?expand=0&rev=3
2024-09-25 14:24:47 +00:00
ec193b5337 - update to version 0.60.2:
- fixed a bug in open_slk (issue #797, PR #769)
 - fixed a bug due to new PROJECTCOMPATVERSION record in dir stream (PR #723, issues #700, #701, #725, #791, #808, #811, #833)
 - oleobj: fixed SyntaxError with Python 3.12 (PR #855), SyntaxWarning (PR #774)
 - rtfobj: fixed SyntaxError with Python 3.12 (PR #854)
 - clsid: added CLSIDs for MSI, Zed
 - ftguess: added MSI, PNG and OneNote formats
 - pyxswf: fixed python 3.12 compatibility (PR #841, issue #813)

OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-oletools?expand=0&rev=2
2024-09-20 07:04:15 +00:00
bb03356415 This package should always have been in forensics, not in d:l:py as it's not a tool helping in python development, but specifically for forensics
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-oletools?expand=0&rev=1
2024-09-04 07:20:27 +00:00
4 changed files with 38 additions and 11 deletions

View File

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

3
oletools-0.60.2.zip Normal file
View File

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Jun 18 04:04:55 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
- Do not ship docs in the Python sitelib.
-------------------------------------------------------------------
Wed Sep 25 14:03:35 UTC 2024 - Guang Yee <gyee@suse.com>
- Enable sle15_python_module_pythons.
-------------------------------------------------------------------
Fri Sep 20 07:00:20 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- update to version 0.60.2:
- fixed a bug in open_slk (issue #797, PR #769)
- fixed a bug due to new PROJECTCOMPATVERSION record in dir stream (PR #723, issues #700, #701, #725, #791, #808, #811, #833)
- oleobj: fixed SyntaxError with Python 3.12 (PR #855), SyntaxWarning (PR #774)
- rtfobj: fixed SyntaxError with Python 3.12 (PR #854)
- clsid: added CLSIDs for MSI, Zed
- ftguess: added MSI, PNG and OneNote formats
- pyxswf: fixed python 3.12 compatibility (PR #841, issue #813)
-------------------------------------------------------------------
Fri Feb 2 13:58:18 UTC 2024 - Sebastian Wagner <sebix@sebix.at>

View File

@@ -16,14 +16,17 @@
#
%{?sle15_python_module_pythons}
Name: python-oletools
Version: 0.60.1
Version: 0.60.2
Release: 0
Summary: Tools to analyze security characteristics of MS Office and OLE files
License: BSD-2-Clause AND MIT
URL: http://www.decalage.info/python/oletools
URL: https://github.com/decalage2/oletools
Source: https://files.pythonhosted.org/packages/source/o/oletools/oletools-%{version}.zip
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module colorclass}
@@ -60,15 +63,17 @@ Python tools to analyze security characteristics of MS Office and OLE files (als
%setup -q -n oletools-%{version}
find oletools -name "*.py" -exec sed -i '1{/\/bin\/env python/d;}' {} \+
find oletools -name "*.py" -exec sed -i 's/\r\n/\n/' {} \+
# remove actually optional dependency from requires
sed -i '/.*pcodedmp>=/d' setup.py
dos2unix tests/olevba/test_basic.py oletools/olevba.py README.md
%build
%python_build
%pyproject_wheel
%install
%python_install
# remove actually optional dependency from requires
sed -i '1{/pcodedmp/d;}' %{buildroot}%{python_sitelib}/oletools-*.egg-info/requires.txt
%pyproject_install
# Do not ship docs in sitelib
%python_expand rm -r %{buildroot}%{$python_sitelib}/oletools/doc
%python_clone -a %{buildroot}%{_bindir}/ezhexviewer
%python_clone -a %{buildroot}%{_bindir}/mraptor
%python_clone -a %{buildroot}%{_bindir}/olebrowse
@@ -89,7 +94,6 @@ sed -i '1{/pcodedmp/d;}' %{buildroot}%{python_sitelib}/oletools-*.egg-info/requi
%check
# test_macros, test_empty_behaviour, test_rtf_behaviour, test_text_behaviour, test_xlm: reported at https://github.com/decalage2/oletools/issues/767
%pytest -k 'not test_rough_doctype and not test_encrypted and not test_crypt_return and not test_all and not test_macros and not test_empty_behaviour and not test_rtf_behaviour and not test_text_behaviour and not test_xlm'
#%%pyunittest
%post
%python_install_alternative ezhexviewer mraptor olebrowse oledir oleid olemap olemeta oletimes olevba pyxswf rtfobj oleobj msodde olefile ftguess
@@ -116,6 +120,6 @@ sed -i '1{/pcodedmp/d;}' %{buildroot}%{python_sitelib}/oletools-*.egg-info/requi
%python_alternative %{_bindir}/olefile
%python_alternative %{_bindir}/ftguess
%{python_sitelib}/oletools/
%{python_sitelib}/oletools-%{version}-py*.egg-info
%{python_sitelib}/oletools-%{version}.dist-info
%changelog