Do not do desktop-file-validate on RHEL

epel9
Troy Dawson 3 years ago
parent 2f6f6ef717
commit a03c8846fa

@ -70,7 +70,12 @@ cp -alf \
%check %check
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.metainfo.xml 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 desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.%{name}.desktop
%endif
%files -f %{name}.lang %files -f %{name}.lang
%doc README.metadata %doc README.metadata

Loading…
Cancel
Save