Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-msoffcrypto-tool for 
openSUSE:Factory checked in at 2025-12-11 18:37:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-msoffcrypto-tool (Old)
 and      /work/SRC/openSUSE:Factory/.python-msoffcrypto-tool.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-msoffcrypto-tool"

Thu Dec 11 18:37:51 2025 rev:8 rq:1321993 version:5.4.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-msoffcrypto-tool/python-msoffcrypto-tool.changes
  2025-06-05 20:36:39.035059708 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-msoffcrypto-tool.new.1939/python-msoffcrypto-tool.changes
        2025-12-11 18:37:53.552777728 +0100
@@ -1,0 +2,50 @@
+Wed Dec 10 14:42:35 UTC 2025 - Daniel Garcia <[email protected]>
+
+- Use source from github to have tests
+
+-------------------------------------------------------------------
+Thu Dec  4 05:30:19 UTC 2025 - Guang Yee <[email protected]>
+
+- Update to 5.4.2
+  * Fix DeprecationWarning from cryptography library (reported by @dennn11, 
#92)
+v5.4.1 / 2024-05-25
+  * Fix for incorrect key size with 0 length keySize var (@UserJHansen, #89)
+v5.4.0 / 2024-05-02
+  * Never return None in ooxml's _parseinfo (@gdesmar, #88)
+v5.3.1 / 2024-01-19
+  * Bug fixes
+v5.3.0 / 2024-01-19
+  * Add support for OOXML encryption, a port from the C++ library
+    https://github.com/herumi/msoffice (@stephane-rouleau, #86)
+v5.2.0 / 2024-01-06
+  * Support XOR Obfuscation decryption for .xls documents (@DissectMalware, 
#80)
+  * Bug fixes
+v5.1.1 / 2023-07-20
+  * Drop Python 3.7 support as it reaches EOL, Add Python 3.11 to CI 
environments
+  * Get the version in __main__.py instead of __init__.py to avoid a
+    relevant error in PyInstaller/cx_Freeze in which pkg_resources
+    does not work by default
+v5.1.0 / 2023-07-17
+  * Load plain OOXML as OfficeFile with type == plain. Fixes #74
+  * Use importlib.metadata.version in Python >=3.8 (#77)
+5.0.1 / 2023-02-28
+  * (dev) Switch to GitHub Actions from Travis CI
+  * Update dependencies, Drop Python 3.6 support
+5.0.0 / 2022-01-20
+  * (dev) Add tests on Python 3.7 to 3.9 (#71)
+  * (dev) Track poetry.lock (#71)
+  * (BREAKING) Drop Python 2 support (#71)
+  * Raise exception if no encryption type is specified (#70)
+  * Support SHA256, SHA384 hash algorithm (@jackydo, #67)
+  * Fix errors for unencrypted documents
+  * Use absolute imports (#63)
+4.12.0 / 2021-06-04
+  * Use custom exceptions (#59)
+  * (dev) Remove nose (thank you) (#57)
+  * (dev) Use poetry (#55)
+4.11.0 / 2020-09-03
+  * Improve hash calculation (suggested by @StanislavNikolov)
+  * Add "verify_passwd" and "verify_integrity" option (@jeffli678)
+  * Make _packUserEditAtom spec-compliant
+
+-------------------------------------------------------------------

Old:
----
  msoffcrypto-tool-4.10.2.tar.gz

New:
----
  msoffcrypto_tool-5.4.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-msoffcrypto-tool.spec ++++++
--- /var/tmp/diff_new_pack.nZti4F/_old  2025-12-11 18:37:54.440815044 +0100
+++ /var/tmp/diff_new_pack.nZti4F/_new  2025-12-11 18:37:54.440815044 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-msoffcrypto-tool
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,26 +18,25 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-msoffcrypto-tool
-Version:        4.10.2
+Version:        5.4.2
 Release:        0
 Summary:        Library for decrypting MS Office files
 License:        MIT
 URL:            https://github.com/nolze/msoffcrypto-tool
-Source:         
https://files.pythonhosted.org/packages/source/m/msoffcrypto-tool/msoffcrypto-tool-%{version}.tar.gz
+Source:         
https://github.com/nolze/msoffcrypto-tool/archive/v%{version}.tar.gz#/msoffcrypto_tool-%{version}.tar.gz
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module poetry-core}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-cryptography >= 2.3
-Requires:       python-olefile >= 0.45
+Requires:       python-cryptography >= 39.0
+Requires:       python-olefile >= 0.46
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module coverage}
-BuildRequires:  %{python_module cryptography >= 2.3}
-BuildRequires:  %{python_module olefile >= 0.45}
+BuildRequires:  %{python_module cryptography >= 39.0}
+BuildRequires:  %{python_module olefile >= 0.46}
 BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
@@ -47,9 +46,7 @@
 files with passwords or other keys.
 
 %prep
-%setup -q -n msoffcrypto-tool-%{version}
-# Delete empty file as of v4.10.0
-wc -c msoffcrypto/method/xor_obfuscation.py | sed -n '/^0/{s/^0\s//;p}' | 
xargs rm
+%autosetup -p1 -n msoffcrypto-tool-%{version}
 
 %build
 %pyproject_wheel
@@ -61,7 +58,11 @@
 
 %check
 # pytest creates an illegitimate doctest case for __main__ which then fails
-%pytest --doctest-modules -k 'not __main__'
+%{python_expand #
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+sed -i "s/python\([0-9]\.[0-9]*\)\?/python%{$python_bin_suffix}/" 
tests/test_cli.sh
+$python -m pytest --doctest-modules -k 'not __main__'
+}
 
 %post
 %python_install_alternative msoffcrypto-tool
@@ -71,6 +72,7 @@
 
 %files %{python_files}
 %doc README.md
+%doc %{python_sitelib}/NOTICE.txt
 %license LICENSE.txt
 %python_alternative %{_bindir}/msoffcrypto-tool
 %{python_sitelib}/msoffcrypto

Reply via email to