diff --git a/gtk3.spec b/gtk3.spec index 513b3cb..a82561a 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -8,6 +8,7 @@ %global gdk_pixbuf_version 2.30.0 %global atk_version 2.12.0 %global cairo_version 1.13.1 +%global wayland_version 1.5.91 %global xrandr_version 1.2.99.4-2 %global bin_version 3.0.0 @@ -53,8 +54,8 @@ BuildRequires: colord-devel BuildRequires: avahi-gobject-devel BuildRequires: desktop-file-utils %if 0%{?with_wayland} -BuildRequires: libwayland-client-devel -BuildRequires: libwayland-cursor-devel +BuildRequires: libwayland-client-devel >= %{wayland_version} +BuildRequires: libwayland-cursor-devel >= %{wayland_version} BuildRequires: libxkbcommon-devel %endif @@ -71,6 +72,10 @@ Requires(post): pango%{?_isa} >= %{pango_version} Requires: cairo%{?_isa} >= %{cairo_version} Requires: cairo-gobject%{?_isa} >= %{cairo_version} Requires: libXrandr%{?_isa} >= %{xrandr_version} +%if 0%{?with_wayland} +Requires: libwayland-client%{?_isa} >= %{wayland_version} +Requires: libwayland-cursor%{?_isa} >= %{wayland_version} +%endif # gtk3 itself includes the Adwaita theme now Obsoletes: adwaita-gtk3-theme < 3.13.3 @@ -318,6 +323,7 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache * Mon Sep 22 2014 Kalev Lember - 3.14.0-1 - Update to 3.14.0 - Tighten deps with the _isa macro +- Set minimum required wayland version * Tue Sep 16 2014 Kalev Lember - 3.13.9-1 - Update to 3.13.9