Add versioned library deps

This ensures that distro upgrades pull in the correct library versions.
This commit is contained in:
Kalev Lember 2018-05-21 20:28:03 +02:00
parent 7989bc1ee3
commit 50d309d278

View File

@ -1,6 +1,10 @@
%global dconf_version 0.26.1
%global glib2_version 2.55.1
%global gtk3_version 3.22.27
Name: dconf-editor
Version: 3.28.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Configuration editor for dconf
License: LGPLv2+
@ -11,13 +15,17 @@ BuildRequires: /usr/bin/appstream-util
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: meson
BuildRequires: pkgconfig(dconf)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(dconf) >= %{dconf_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: vala
Requires: dconf%{?_isa} >= %{dconf_version}
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gtk3%{?_isa} >= %{gtk3_version}
%description
Graphical tool for editing the dconf configuration database.
@ -50,6 +58,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ca.desrt.dconf-edi
%{_mandir}/man1/dconf-editor.1*
%changelog
* Mon May 21 2018 Kalev Lember <klember@redhat.com> - 3.28.0-2
- Add versioned library deps
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
- Update to 3.28.0