From 29278ce3f25134a0349f6253284ec9526e094ef2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Jul 18 2017 10:15:21 +0000 Subject: Require minimum glib2 version ... so that we can be sure to pull in new enough glib2 when updating json-glib. --- diff --git a/json-glib.spec b/json-glib.spec index 53be54b..9e1a41a 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -1,4 +1,4 @@ -%define glib_ver 2.44.0 +%define glib2_version 2.44.0 Name: json-glib Version: 1.3.2 @@ -11,12 +11,14 @@ Source0: http://download.gnome.org/sources/%{name}/1.3/%{name}-%{version}.tar.xz BuildRequires: docbook-style-xsl BuildRequires: gettext -BuildRequires: glib2-devel >= %{glib_ver} +BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: meson BuildRequires: /usr/bin/xsltproc +Requires: glib2%{?_isa} >= %{glib2_version} + %description %{name} is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format.