public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cinnamon-settings-daemon] rawhide: Add '%check' section with 'desktop-file-validate'
@ 2026-07-26 21:08 Michal Schorm
  0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-07-26 21:08 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/cinnamon-settings-daemon
            Branch : rawhide
            Commit : f828521cb09f1f86d4f48034a9212762029df664
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-07-26T19:57:41+02:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cinnamon-settings-daemon/c/f828521cb09f1f86d4f48034a9212762029df664?branch=rawhide

            Log:
            Add '%check' section with 'desktop-file-validate'

cinnamon-settings-daemon ships autostart desktop files in
'%{_sysconfdir}/xdg/autostart/' processed via 'desktop-file-install'
in '%install'. 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/cinnamon-settings-daemon.spec b/cinnamon-settings-daemon.spec
index 4f215a8..e580ac5 100644
--- a/cinnamon-settings-daemon.spec
+++ b/cinnamon-settings-daemon.spec
@@ -80,6 +80,9 @@ rm -rf %{buildroot}%{_datadir}/cinnamon-settings-daemon-3.0/
 rm -rf %{buildroot}%{_libdir}/cinnamon-settings-daemon/
 
 
+%check
+desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/*.desktop
+
 %files
 %doc AUTHORS
 %license COPYING COPYING.LIB

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-26 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-26 21:08 [rpms/cinnamon-settings-daemon] 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