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/cinnamon-settings-daemon] rawhide: Add '%check' section with 'desktop-file-validate'
Date: Sun, 26 Jul 2026 21:08:41 GMT	[thread overview]
Message-ID: <178510012189.1.7553662222928193095.rpms-cinnamon-settings-daemon-f828521cb09f@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-26 21:08 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=178510012189.1.7553662222928193095.rpms-cinnamon-settings-daemon-f828521cb09f@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