From 116972e62ebf270785a5fb85e809e2880a1fbd72 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 31 Oct 2014 17:12:38 +0000 Subject: [PATCH] Do not depend on Wayland on non-Fedora --- gnome-settings-daemon.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index eaa1b52..1654b45 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -45,7 +45,9 @@ BuildRequires: lcms2-devel >= 2.2 BuildRequires: libXi-devel libXfixes-devel BuildRequires: systemd-devel BuildRequires: libXtst-devel +%if 0%{?fedora} BuildRequires: libwayland-client-devel +%endif BuildRequires: libxslt BuildRequires: docbook-style-xsl BuildRequires: xkeyboard-config-devel @@ -93,6 +95,9 @@ autoreconf -i -f %build %configure --disable-static \ +%if 0%{?rhel} + --disable-wayland \ +%endif --enable-profiling make %{?_smp_mflags}