From 07cb6807253ee4b6fc25839363f9001023c54243 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 15 Mar 2019 14:07:25 +0100 Subject: [PATCH] Avoid using %_bindir in BuildRequires This doesn't work when building for a non-default prefix, such as /app for flatpak builds. --- gnome-font-viewer.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnome-font-viewer.spec b/gnome-font-viewer.spec index def9354..90c0aa2 100644 --- a/gnome-font-viewer.spec +++ b/gnome-font-viewer.spec @@ -19,8 +19,8 @@ BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: gettext -BuildRequires: %{_bindir}/desktop-file-validate -BuildRequires: %{_bindir}/appstream-util +BuildRequires: /usr/bin/appstream-util +BuildRequires: /usr/bin/desktop-file-validate %description Use gnome-font-viewer, the Font Viewer, to preview fonts and display