diff --git a/python-pandas.spec b/python-pandas.spec index fe19dd5..d0f79b2 100644 --- a/python-pandas.spec +++ b/python-pandas.spec @@ -48,8 +48,8 @@ Recommends: python3-xlwt %prep %autosetup -n %{srcname}-%{version} -p1 - -rm $(grep -rl '/\* Generated by Cython') +# Cython is too old in RHEL8.0 +%{!?el8:rm $(grep -rl '/\* Generated by Cython')} %build %py3_build