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-06-05 20:34:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-msoffcrypto-tool (Old) and /work/SRC/openSUSE:Factory/.python-msoffcrypto-tool.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-msoffcrypto-tool" Thu Jun 5 20:34:05 2025 rev:7 rq:1282934 version:4.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-msoffcrypto-tool/python-msoffcrypto-tool.changes 2024-09-25 21:54:56.216388736 +0200 +++ /work/SRC/openSUSE:Factory/.python-msoffcrypto-tool.new.19631/python-msoffcrypto-tool.changes 2025-06-05 20:36:39.035059708 +0200 @@ -1,0 +2,6 @@ +Thu Jun 5 04:40:03 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-msoffcrypto-tool.spec ++++++ --- /var/tmp/diff_new_pack.iLCzUa/_old 2025-06-05 20:36:39.475078003 +0200 +++ /var/tmp/diff_new_pack.iLCzUa/_new 2025-06-05 20:36:39.475078003 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-msoffcrypto-tool # -# Copyright (c) 2024 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,15 +22,15 @@ Release: 0 Summary: Library for decrypting MS Office files License: MIT -Group: Development/Languages/Python URL: https://github.com/nolze/msoffcrypto-tool Source: https://files.pythonhosted.org/packages/source/m/msoffcrypto-tool/msoffcrypto-tool-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.3 Requires: python-olefile >= 0.45 -Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch @@ -52,10 +52,10 @@ wc -c msoffcrypto/method/xor_obfuscation.py | sed -n '/^0/{s/^0\s//;p}' | xargs rm %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/msoffcrypto-tool %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -73,5 +73,6 @@ %doc README.md %license LICENSE.txt %python_alternative %{_bindir}/msoffcrypto-tool -%{python_sitelib}/* +%{python_sitelib}/msoffcrypto +%{python_sitelib}/msoffcrypto_tool-%{version}.dist-info