From 182dcdd01e9a6c1275fc3de67257618de47c4689 Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Oct 24 2017 21:09:33 +0000 Subject: Cleanup spec file conditionals Signed-off-by: Miroslav Vadkerti --- diff --git a/python-astroid.spec b/python-astroid.spec index 0a5c7e0..d22d5a2 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -102,7 +102,7 @@ rm -rf %{buildroot}%{python2_sitelib}/astroid/tests %check # One test failing on Fedora 26 and newer with Python 2.7 -%if 0%{?fedora} < 26 +%if 0%{?fedora} < 26 && 0%{?rhel} <= 7 PYTHONPATH=./ %{__python2} -m unittest discover -p "unittest*.py" %endif