From 38c19f57900b3012d69b1d8a87cc02845541cc70 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 30 Jun 2015 12:51:36 +0200 Subject: [PATCH] Add minimum version requirements for a few deps dnf's depsolver uses the equivalent of --skip-broken by default, so try to be a little bit more careful here with versions to make sure we don't end up with too old dependencies. --- clutter.spec | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/clutter.spec b/clutter.spec index 362dc88..3f730c2 100644 --- a/clutter.spec +++ b/clutter.spec @@ -6,9 +6,14 @@ %global with_tests 1 +%global cogl_version 1.20.0 +%global json_glib_version 0.12.0 +%global cairo_version 1.14.0 +%global libinput_version 0.8 + Name: clutter Version: 1.23.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Source software library for creating rich graphical user interfaces Group: Development/Libraries @@ -16,12 +21,14 @@ License: LGPLv2+ URL: http://www.clutter-project.org/ Source0: http://download.gnome.org/sources/clutter/1.23/clutter-%{version}.tar.xz +BuildRequires: atk-devel +BuildRequires: cairo-gobject-devel >= %{cairo_version} +BuildRequires: cogl-devel >= %{cogl_version} +BuildRequires: gdk-pixbuf2-devel BuildRequires: glib2-devel mesa-libGL-devel pkgconfig pango-devel -BuildRequires: cairo-gobject-devel gdk-pixbuf2-devel atk-devel -BuildRequires: cogl-devel >= 1.15.1 BuildRequires: gobject-introspection-devel >= 0.9.6 BuildRequires: gtk3-devel -BuildRequires: json-glib-devel >= 0.12.0 +BuildRequires: json-glib-devel >= %{json_glib_version} BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXi-devel @@ -32,10 +39,16 @@ BuildRequires: libwayland-client-devel BuildRequires: libwayland-cursor-devel BuildRequires: libwayland-server-devel BuildRequires: libxkbcommon-devel -BuildRequires: libinput-devel >= 0.8 +BuildRequires: libinput-devel >= %{libinput_version} %endif +Requires: cairo%{?_isa} >= %{cairo_version} +Requires: cogl%{?_isa} >= %{cogl_version} Requires: gobject-introspection +Requires: json-glib%{?_isa} >= %{json_glib_version} +%if 0%{?with_wayland} +Requires: libinput%{?_isa} >= %{libinput_version} +%endif %description Clutter is an open source software library for creating fast, @@ -128,6 +141,9 @@ find %{buildroot} -name '*.la' -delete %endif %changelog +* Tue Jun 30 2015 Kalev Lember - 1.23.2-2 +- Add minimum version requirements for a few deps + * Mon Jun 29 2015 Kalev Lember - 1.23.2-1 - Update to 1.23.2