Avoid using %_bindir in BuildRequires

This doesn't work when building for a non-default prefix, such as /app
for flatpak builds.
This commit is contained in:
Kalev Lember 2019-03-15 14:07:25 +01:00
parent 6a6e34bb5e
commit 07cb680725

View File

@ -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