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