[gdk-pixbuf2] Require glib2 >= 2.34.0 for g_type_ensure().

Ville Skyttä scop at fedoraproject.org
Tue Jan 15 18:34:30 UTC 2013


commit e6caae8128e6bd4d753e761fd85087e9101a3bbd
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Jan 15 20:34:00 2013 +0200

    Require glib2 >= 2.34.0 for g_type_ensure().

 gdk-pixbuf2.spec |   11 +++++++++--
 1 files 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ä <ville.skytta at iki.fi> - 2.26.5-3
+- Require glib2 >= 2.34.0 for g_type_ensure().
+
 * Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 2.26.5-2
 - rebuild against new libjpeg
 


More information about the scm-commits mailing list