public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/nemo] rawhide: Add '%check' section with 'desktop-file-validate'
Date: Sun, 26 Jul 2026 20:57:58 GMT [thread overview]
Message-ID: <178509947868.1.5122884969815609336.rpms-nemo-16da7203461c@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-26 20:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178509947868.1.5122884969815609336.rpms-nemo-16da7203461c@fedoraproject.org \
--to=mschorm@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox