From f21f963b9ef96e3cdb8d3bd3566e511b6ce3979d Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Feb 05 2018 13:25:13 +0000 Subject: Require minimum libgweather version ... so that we can be sure it gets pulled in for distro upgrades. --- diff --git a/gnome-clocks.spec b/gnome-clocks.spec index 367ea66..c6ca291 100644 --- a/gnome-clocks.spec +++ b/gnome-clocks.spec @@ -1,3 +1,5 @@ +%global libgweather_version 3.27.2 + Name: gnome-clocks Version: 3.27.1 Release: 1%{?dist} @@ -15,7 +17,7 @@ BuildRequires: libappstream-glib BuildRequires: vala BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 -BuildRequires: pkgconfig(gweather-3.0) >= 3.14 +BuildRequires: pkgconfig(gweather-3.0) >= %{libgweather_version} BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.8 BuildRequires: pkgconfig(glib-2.0) >= 2.44 BuildRequires: pkgconfig(gobject-2.0) >= 2.44 @@ -23,6 +25,8 @@ BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.4 BuildRequires: pkgconfig(geocode-glib-1.0) >= 1.0 BuildRequires: pkgconfig(gsound) >= 0.98 +Requires: libgweather%{?_isa} >= %{libgweather_version} + %description Clock application designed for GNOME 3