Check desktop file via desktop-file-validate

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 4 years ago
parent 1d41bd00c2
commit 20f16f4f92
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

@ -47,6 +47,7 @@ BuildRequires: pcre2-devel
BuildRequires: gnupg2 BuildRequires: gnupg2
BuildRequires: python3-devel BuildRequires: python3-devel
%global __python %{__python3} %global __python %{__python3}
BuildRequires: /usr/bin/desktop-file-validate
# tab completion wants man-db # tab completion wants man-db
Recommends: man-db Recommends: man-db
@ -101,6 +102,7 @@ cp -a CONTRIBUTING.rst %{buildroot}%{_pkgdocdir}
%check %check
%{_vpath_builddir}/fish_tests %{_vpath_builddir}/fish_tests
desktop-file-validate %{buildroot}%{_datadir}/applications/fish.desktop
%post %post
if [ "$1" = 1 ]; then if [ "$1" = 1 ]; then

Loading…
Cancel
Save