From 67cc56556f19e545150dbb8db3ba40ddd2162c9a8f9008c138bf045e8bfeaed9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 19 Dec 2024 09:36:00 +0000 Subject: [PATCH] - 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 --- python-vobject.changes | 6 ++++++ python-vobject.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-vobject.changes b/python-vobject.changes index 73db5a4..fb4fdac 100644 --- a/python-vobject.changes +++ b/python-vobject.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 19 09:35:46 UTC 2024 - Matej Cepl + +- Use regular %%pynittest macro instead of running the test + script directly. + ------------------------------------------------------------------- Wed Dec 18 13:50:35 UTC 2024 - Markéta Machová diff --git a/python-vobject.spec b/python-vobject.spec index b9f4ae3..bbe6534 100644 --- a/python-vobject.spec +++ b/python-vobject.spec @@ -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