forked from pool/python-msoffcrypto-tool
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d65362e6cb | |||
| 0c97182d08 |
@@ -1,9 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jun 5 04:40:03 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Switch to pyproject macros.
|
|
||||||
- No more greedy globs in %files.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 24 18:36:13 UTC 2024 - Guang Yee <gyee@suse.com>
|
Tue Sep 24 18:36:13 UTC 2024 - Guang Yee <gyee@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-msoffcrypto-tool
|
# spec file for package python-msoffcrypto-tool
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,15 +22,15 @@ Version: 4.10.2
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for decrypting MS Office files
|
Summary: Library for decrypting MS Office files
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/nolze/msoffcrypto-tool
|
URL: https://github.com/nolze/msoffcrypto-tool
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/msoffcrypto-tool/msoffcrypto-tool-%{version}.tar.gz
|
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 setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cryptography >= 2.3
|
Requires: python-cryptography >= 2.3
|
||||||
Requires: python-olefile >= 0.45
|
Requires: python-olefile >= 0.45
|
||||||
|
Requires: python-setuptools
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -52,10 +52,10 @@ files with passwords or other keys.
|
|||||||
wc -c msoffcrypto/method/xor_obfuscation.py | sed -n '/^0/{s/^0\s//;p}' | xargs rm
|
wc -c msoffcrypto/method/xor_obfuscation.py | sed -n '/^0/{s/^0\s//;p}' | xargs rm
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/msoffcrypto-tool
|
%python_clone -a %{buildroot}%{_bindir}/msoffcrypto-tool
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@@ -73,7 +73,6 @@ wc -c msoffcrypto/method/xor_obfuscation.py | sed -n '/^0/{s/^0\s//;p}' | xargs
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%python_alternative %{_bindir}/msoffcrypto-tool
|
%python_alternative %{_bindir}/msoffcrypto-tool
|
||||||
%{python_sitelib}/msoffcrypto
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/msoffcrypto_tool-%{version}.dist-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user