Remove wayland conditionals

RHEL 7.5 and later have wayland now.
This commit is contained in:
Kalev Lember 2018-04-18 15:08:33 +02:00
parent d4c786949d
commit cd41e0de90

View File

@ -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}