forked from pool/python-vobject
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user