From aeebb48d2feb38201fb834155aeb25268e9a433f Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 22 Sep 2014 13:18:25 +0200 Subject: Set minimum required wayland version --- gtk3.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gtk3.spec') 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 -- cgit