Set minimum required glib2 version

This commit is contained in:
Kalev Lember 2019-09-05 03:22:29 +02:00
parent 57d383df68
commit ba717774bf

View File

@ -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 <klember@redhat.com> - 3.33.92-1
- Update to 3.33.92
- Set minimum required glib2 version
* Tue Aug 27 2019 Kalev Lember <klember@redhat.com> - 3.33.90-2
- Add kernel-tools runtime dep for turbostat