From cd41e0de90121b2c77492c024f675d134bb0b917 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 18 Apr 2018 15:08:33 +0200 Subject: [PATCH] Remove wayland conditionals RHEL 7.5 and later have wayland now. --- cogl.spec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cogl.spec b/cogl.spec index caaec13..aa6c156 100644 --- a/cogl.spec +++ b/cogl.spec @@ -1,7 +1,3 @@ -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_wayland 1 -%endif - %global with_tests 1 Name: cogl @@ -43,13 +39,11 @@ BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xrandr) -%if 0%{?with_wayland} BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(xkbcommon) -%endif %if 0%{?fedora} # From rhughes-f20-gnome-3-12 copr @@ -113,10 +107,8 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC" --enable-gtk-doc \ --enable-introspection=yes \ --enable-kms-egl-platform \ -%if 0%{?with_wayland} --enable-wayland-egl-platform \ --enable-wayland-egl-server \ -%endif --enable-xlib-egl-platform \ %{?with_tests:--enable-installed-tests}