From 4f2efc3e9863c54a07b6a12eec66b233bb90de93 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Apr 07 2019 18:12:53 +0000 Subject: Use proper macro Signed-off-by: Igor Gnatenko --- diff --git a/python-pygit2.spec b/python-pygit2.spec index 8ec3f3d..8433f21 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -83,7 +83,7 @@ find %{_builddir} -name '.buildinfo' -delete find %{buildroot} -name '*.so' -exec chmod 755 {} ';' %check -%ifarch arch_test_fail +%ifarch %{arch_test_fail} PYTHONPATH=%{buildroot}%{python2_sitearch} py.test-%{python2_version} -v || : PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v || : %else