From 20f16f4f92227ca9ecb4135f927082b34c2e3d89 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sat, 13 Mar 2021 19:42:48 +0100 Subject: [PATCH] Check desktop file via desktop-file-validate Signed-off-by: Igor Raits --- fish.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fish.spec b/fish.spec index 5f2860c..046b00f 100644 --- a/fish.spec +++ b/fish.spec @@ -47,6 +47,7 @@ BuildRequires: pcre2-devel BuildRequires: gnupg2 BuildRequires: python3-devel %global __python %{__python3} +BuildRequires: /usr/bin/desktop-file-validate # tab completion wants man-db Recommends: man-db @@ -101,6 +102,7 @@ cp -a CONTRIBUTING.rst %{buildroot}%{_pkgdocdir} %check %{_vpath_builddir}/fish_tests +desktop-file-validate %{buildroot}%{_datadir}/applications/fish.desktop %post if [ "$1" = 1 ]; then