From: Nathan Cutler Date: Tue, 19 Mar 2019 10:48:31 +0000 (+0100) Subject: rpm: fix "rhel <= 7" conditional X-Git-Tag: v14.2.1~58^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=649340355122e4de7887e797efd3b2c9d4dede34;p=ceph.git rpm: fix "rhel <= 7" conditional 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 (cherry picked from commit b0da2371c118445e5e32b748970eca0adbf7aa91) --- diff --git a/ceph.spec.in b/ceph.spec.in index 5844a5af3c5..07a1fcb8dc8 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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