From 447f248d2bfce346ae68449353f4e54f34f61894 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 14 Nov 2023 20:59:03 +0100 Subject: [PATCH] Specify the minimum BuildRequires for pkgconfig(flatpak) This makes things a little less surprising when doing maintenance across Fedora, CentOS Stream and RHEL spanning a wide range of versions. --- xdg-desktop-portal.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec index aacebe4..ec86b67 100644 --- a/xdg-desktop-portal.spec +++ b/xdg-desktop-portal.spec @@ -1,3 +1,4 @@ +%global flatpak_version 1.5.0 %global geoclue_version 2.5.2 %global glib_version 2.69.1 %global low_memory_monitor_version 2.0 @@ -16,7 +17,7 @@ BuildRequires: gcc BuildRequires: gettext BuildRequires: meson BuildRequires: systemd-rpm-macros -BuildRequires: pkgconfig(flatpak) +BuildRequires: pkgconfig(flatpak) >= %{flatpak_version} BuildRequires: pkgconfig(fuse3) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}