| |
@@ -3,7 +3,7 @@
|
| |
Summary: Python tool for decrypting MS Office files with passwords or other keys
|
| |
Name: msoffcrypto-tool
|
| |
Version: 4.11.0
|
| |
- Release: 4%{?dist}
|
| |
+ Release: 5%{?dist}
|
| |
License: MIT
|
| |
URL: https://github.com/nolze/msoffcrypto-tool
|
| |
Source: https://github.com/nolze/msoffcrypto-tool/archive/v%{version}/%{name}-%{version}.tar.gz
|
| |
@@ -13,14 +13,8 @@
|
| |
BuildRequires: python%{python3_pkgversion}-cryptography >= 2.3
|
| |
BuildRequires: python%{python3_pkgversion}-olefile >= 0.45
|
| |
# Tests
|
| |
- %if 0%{?fedora}
|
| |
- BuildRequires: python%{python3_pkgversion}-coverage >= 4.5.1
|
| |
- BuildRequires: python%{python3_pkgversion}-nose >= 1.3.7
|
| |
- %endif
|
| |
- %if 0%{?rhel} >= 8
|
| |
- BuildRequires: python3.6dist(coverage) >= 4.5.1
|
| |
- BuildRequires: python%{python3_pkgversion}-nose >= 1.3.7
|
| |
- %endif
|
| |
+ BuildRequires: python%{python3_pkgversion}-pytest
|
| |
+
|
| |
Requires: python%{python3_pkgversion}-%{modulename}
|
| |
|
| |
%description
|
| |
@@ -48,9 +42,11 @@
|
| |
%install
|
| |
%py3_install
|
| |
|
| |
- %if 0%{?fedora} || 0%{?rhel} >= 8
|
| |
%check
|
| |
- %{__python3} setup.py test
|
| |
+ %if 0%{?rhel} && 0%{?rhel} < 8
|
| |
+ pytest-3
|
| |
+ %else
|
| |
+ %pytest
|
| |
%endif
|
| |
|
| |
%files
|
| |
@@ -63,6 +59,10 @@
|
| |
%{python3_sitelib}/%{modulename}_tool-%{version}-py%{python3_version}.egg-info/
|
| |
|
| |
%changelog
|
| |
+ * Mon Jan 17 2022 Miro Hrončok <mhroncok@redhat.com> - 4.11.0-5
|
| |
+ - Switch the test runner in %%check from deprecated nose to pytest
|
| |
+ - Drop undesired and unused build dependency on coverage
|
| |
+
|
| |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.11.0-4
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
| |
|
| |