From a03c8846fa892b97d5618d9494eb6406067f67a9 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Sat, 16 Jul 2022 08:19:02 -0700 Subject: [PATCH] Do not do desktop-file-validate on RHEL --- khelpcenter.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/khelpcenter.spec b/khelpcenter.spec index 3129e25..7b055de 100644 --- a/khelpcenter.spec +++ b/khelpcenter.spec @@ -70,7 +70,12 @@ cp -alf \ %check appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.metainfo.xml +## currently fails on all RHEL releases +# RHEL8: https://bugzilla.redhat.com/show_bug.cgi?id=2107277 +# RHEL9: https://bugzilla.redhat.com/show_bug.cgi?id=2107278 +%if !0%{?rhel} desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.%{name}.desktop +%endif %files -f %{name}.lang %doc README.metadata