From e4fd5aa396e8c6ff1067e15dfd11435f4411e298 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Sep 09 2018 21:35:17 +0000 Subject: Run the testsuite in %check Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1626861 --- diff --git a/python-polib.spec b/python-polib.spec index bbce6b1..e36877a 100644 --- a/python-polib.spec +++ b/python-polib.spec @@ -82,9 +82,9 @@ BuildRequires: python%{py3ver}-devel %if 0%{?fedora} || 0%{?rhel} >= 8 %check -%{__python2} setup.py test +%{__python2} tests/tests.py %if %{with python3} -%{__python3} setup.py test +%{__python3} tests/tests.py %endif # with python3 %endif # 0#{?fedora} || 0#{?rhel} >= 8