We do not build for RHEL 6 and below, so "rhel == 7" is just as good, while
also avoiding the bug.
In addition, "rhel == 7" is the conditional we are using everywhere else in the
spec file for this purpose.
Fixes: https://tracker.ceph.com/issues/38810
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit
b0da2371c118445e5e32b748970eca0adbf7aa91)
Requires: python2-scipy
%endif
%endif
-%if 0%{?rhel} <= 7
+%if 0%{?rhel} == 7
Requires: numpy
Requires: scipy
%endif