From b0da2371c118445e5e32b748970eca0adbf7aa91 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 19 Mar 2019 11:48:31 +0100 Subject: [PATCH] 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 --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 5844a5af3c5d..07a1fcb8dc84 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 -- 2.47.3