14
0

- Use regular %%pynittest macro instead of running the test

script directly.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vobject?expand=0&rev=18
This commit is contained in:
2024-12-19 09:36:00 +00:00
committed by Git OBS Bridge
parent dd36f3f3c9
commit 1ac586f4a6
2 changed files with 8 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ Group: Development/Languages/Python
URL: https://github.com/py-vobject/vobject/
Source: https://files.pythonhosted.org/packages/source/v/vobject/%{modname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/py-vobject/vobject/pull/87 remove six
Patch: no-six.patch
Patch0: no-six.patch
BuildRequires: %{python_module PyICU}
BuildRequires: %{python_module devel >= 2.7}
BuildRequires: %{python_module python-dateutil >= 2.7.0}
@@ -67,7 +67,7 @@ done
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec tests.py
%pyunittest -v tests.py
%post
%python_install_alternative change_tz