[california/f21] Set minimum required gtk3 version

Kalev Lember kalev at fedoraproject.org
Wed Oct 1 09:01:29 UTC 2014


commit 873813dabec496c16e7cd5b13551addc35814470
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Oct 1 10:55:27 2014 +0200

    Set minimum required gtk3 version

 california.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/california.spec b/california.spec
index 5f01527..4699d63 100644
--- a/california.spec
+++ b/california.spec
@@ -1,3 +1,5 @@
+%global gtk3_version 3.12.2
+
 Name:           california
 Version:        0.2.0
 Release:        1%{?dist}
@@ -16,12 +18,14 @@ BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(goa-1.0)
 BuildRequires:  pkgconfig(gobject-2.0)
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
-BuildRequires:  pkgconfig(gtk+-3.0)
+BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
 BuildRequires:  pkgconfig(libecal-1.2)
 BuildRequires:  pkgconfig(libgdata)
 BuildRequires:  pkgconfig(libsoup-2.4)
 BuildRequires:  vala
 
+Requires:       gtk3%{?_isa} >= %{gtk3_version}
+
 %description
 California is a calendar built for GNOME 3. It allows you to view and
 manage your online calendars with a simple and modern interface.
@@ -68,6 +72,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %changelog
 * Wed Oct 01 2014 Kalev Lember <kalevlember at gmail.com> - 0.2.0-1
 - Update to 0.2.0
+- Set minimum required gtk3 version
 
 * Wed Aug 20 2014 Kalev Lember <kalevlember at gmail.com> - 0.1.4-1
 - Update to 0.1.4


More information about the scm-commits mailing list