]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: fix "rhel <= 7" conditional 27045/head
authorNathan Cutler <ncutler@suse.com>
Tue, 19 Mar 2019 10:48:31 +0000 (11:48 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 19 Mar 2019 11:11:56 +0000 (12:11 +0100)
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>
ceph.spec.in

index 5844a5af3c5d0b5dc8dc95553bb3b92d97cc26a7..07a1fcb8dc84c4fa6dfb300f7c88ee531e30b765 100644 (file)
@@ -503,7 +503,7 @@ Requires:       python3-scipy
 Requires:       python2-scipy
 %endif
 %endif
-%if 0%{?rhel} <= 7
+%if 0%{?rhel} == 7
 Requires:       numpy
 Requires:       scipy
 %endif