From ba717774bf31f97f2633859a5c9fa712a91630b5 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 5 Sep 2019 03:22:29 +0200 Subject: [PATCH] Set minimum required glib2 version --- sysprof.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sysprof.spec b/sysprof.spec index b6b704a..4220d69 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -1,3 +1,5 @@ +%global glib2_version 2.61.3 + Name: sysprof Version: 3.33.92 Release: 1%{?dist} @@ -12,8 +14,9 @@ BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: itstool BuildRequires: meson -BuildRequires: pkgconfig(gio-unix-2.0) -BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(libdazzle-1.0) BuildRequires: pkgconfig(libsystemd) @@ -22,6 +25,7 @@ BuildRequires: pkgconfig(systemd) BuildRequires: /usr/bin/appstream-util BuildRequires: /usr/bin/desktop-file-validate +Requires: glib2%{?_isa} >= %{glib2_version} Requires: hicolor-icon-theme Requires: %{name}-cli%{?_isa} = %{version}-%{release} Requires: libsysprof-ui%{?_isa} = %{version}-%{release} @@ -118,6 +122,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %changelog * Thu Sep 05 2019 Kalev Lember - 3.33.92-1 - Update to 3.33.92 +- Set minimum required glib2 version * Tue Aug 27 2019 Kalev Lember - 3.33.90-2 - Add kernel-tools runtime dep for turbostat