From 7a6e4734e1ec6ba8d5568ca7a78999c5e3f8cc06fd05deaf9a2e57b6c181de11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 21 Aug 2018 08:28:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=13 --- python-humanfriendly.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-humanfriendly.spec b/python-humanfriendly.spec index 5c7d541..b94d39d 100644 --- a/python-humanfriendly.spec +++ b/python-humanfriendly.spec @@ -95,7 +95,7 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/hu %if %{with test} %check -%python_exec setup.py test +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} humanfriendly/tests.py -v %endif %files %{python_files}