public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nemo] rawhide: Add '%check' section with 'desktop-file-validate'
@ 2026-07-26 20:57 Michal Schorm
0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-07-26 20:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/nemo
Branch : rawhide
Commit : 16da7203461ca958ca3ed905cf19ea1020bf65b0
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-26T19:57:32+02:00
Stats : +3/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/nemo/c/16da7203461ca958ca3ed905cf19ea1020bf65b0?branch=rawhide
Log:
Add '%check' section with 'desktop-file-validate'
nemo ships 3 desktop files ('nemo.desktop',
'nemo-autorun-software.desktop', 'nemo-autostart.desktop')
processed via 'desktop-file-install' in '%install'. While
'desktop-file-install' performs basic validation, an explicit
'desktop-file-validate' in '%check' catches issues consistently
and matches the pattern already used in the cinnamon spec.
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/nemo.spec b/nemo.spec
index 7883abf..ed8434e 100644
--- a/nemo.spec
+++ b/nemo.spec
@@ -126,6 +126,9 @@ mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0/
rm %{buildroot}%{_datadir}/nemo/search-helpers/id3.nemo_search_helper
rm %{buildroot}%{_datadir}/nemo/search-helpers/pdf2txt.nemo_search_helper
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
%files
%doc AUTHORS NEWS
%license COPYING COPYING-DOCS
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-26 20:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-26 20:57 [rpms/nemo] rawhide: Add '%check' section with 'desktop-file-validate' Michal Schorm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox