From 5c41c0bd9dcbb997a51f076f59d4ad776c82a37c Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 24 Sep 2013 23:52:12 +0200 Subject: [PATCH] Specify minimum json-glib version --- geocode-glib.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/geocode-glib.spec b/geocode-glib.spec index 7ccc020..166d533 100644 --- a/geocode-glib.spec +++ b/geocode-glib.spec @@ -1,3 +1,5 @@ +%global json_glib_version 0.16.2 + Name: geocode-glib Version: 3.10.0 Release: 1%{?dist} @@ -10,9 +12,11 @@ Source0: http://download.gnome.org/sources/geocode-glib/3.10/geocode-glib BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel BuildRequires: intltool -BuildRequires: json-glib-devel +BuildRequires: json-glib-devel >= %{json_glib_version} BuildRequires: libsoup-devel +Requires: json-glib%{?_isa} >= %{json_glib_version} + %description geocode-glib is a convenience library for the geocoding (finding longitude, and latitude from an address) and reverse geocoding (finding an address from @@ -65,6 +69,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %changelog * Tue Sep 24 2013 Kalev Lember - 3.10.0-1 - Update to 3.10.0 +- Specify minimum json-glib version * Wed Sep 18 2013 Kalev Lember - 0.99.4-1 - Update to 0.99.4