From 4f2efc3e9863c54a07b6a12eec66b233bb90de93 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 7 Apr 2019 20:12:53 +0200 Subject: [PATCH] Use proper macro Signed-off-by: Igor Gnatenko --- python-pygit2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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