From e6caae8128e6bd4d753e761fd85087e9101a3bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 15 Jan 2013 20:34:00 +0200 Subject: [PATCH] Require glib2 >= 2.34.0 for g_type_ensure(). --- gdk-pixbuf2.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gdk-pixbuf2.spec b/gdk-pixbuf2.spec index d6b9b17..cde2655 100644 --- a/gdk-pixbuf2.spec +++ b/gdk-pixbuf2.spec @@ -1,3 +1,5 @@ +%global glib2_version 2.34.0 + Name: gdk-pixbuf2 Version: 2.26.5 Release: 2%{?dist} @@ -9,7 +11,7 @@ URL: http://www.gt.org #VCS: git:git://git.gnome.org/gdk-pixbuf Source0: http://download.gnome.org/sources/gdk-pixbuf/2.26/gdk-pixbuf-%{version}.tar.xz -BuildRequires: glib2-devel >= 2.31.16 +BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: libpng-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel @@ -23,6 +25,8 @@ BuildRequires: shared-mime-info BuildRequires: autoconf automake libtool gtk-doc BuildRequires: gettext-autopoint +Requires: glib2 >= %{glib2_version} + # We also need MIME information at runtime Requires: shared-mime-info @@ -38,7 +42,7 @@ clutter. Summary: Development files for gdk-pixbuf Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: glib2-devel +Requires: glib2-devel >= %{glib2_version} # gdk-pixbuf was included in gtk2 until 2.21.2 Conflicts: gtk2-devel <= 2.21.2 @@ -113,6 +117,9 @@ fi %changelog +* Tue Jan 15 2013 Ville Skyttä - 2.26.5-3 +- Require glib2 >= 2.34.0 for g_type_ensure(). + * Fri Dec 21 2012 Adam Tkac - 2.26.5-2 - rebuild against new libjpeg