From ce78aa86216f419a44b1555839c54876617f01f1 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 23 Mar 2018 13:06:00 -0400 Subject: [PATCH] Fix the RHEL conditional (this time for sure) --- cairo.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cairo.spec b/cairo.spec index 3ec8733..dc2710b 100644 --- a/cairo.spec +++ b/cairo.spec @@ -2,11 +2,11 @@ %define freetype_version 2.1.9 %define fontconfig_version 2.2.95 -%if 0%{?fedora} < 27 || 0%{?rhel} <= 7 +%if 0%{?fedora} > 26 || 0%{?rhel} > 7 +%global cairogl --disable-gl +%else %global cairogl --enable-gl %global with_gl 1 -%else -%global cairogl --disable-gl %endif Name: cairo