public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Felipe Borges <felipeborges@gnome.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gnome-initial-setup] rawhide: Add desktop file validation test to %check
Date: Mon, 12 Oct 2026 13:44:39 GMT	[thread overview]
Message-ID: <179181267978.1.4938443032003034851.rpms-gnome-initial-setup-19b3cbedf858@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gnome-initial-setup
            Branch : rawhide
            Commit : 19b3cbedf85831b759d73c31723a68db77e2c654
            Author : Felipe Borges <felipeborges@gnome.org>
            Date   : 2026-10-12T14:56:02+02:00
            Stats  : +3/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gnome-initial-setup/c/19b3cbedf85831b759d73c31723a68db77e2c654?branch=rawhide

            Log:
            Add desktop file validation test to %check

See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_file_install_usage

---
diff --git a/gnome-initial-setup.spec b/gnome-initial-setup.spec
index 0f5dd08..29e681a 100644
--- a/gnome-initial-setup.spec
+++ b/gnome-initial-setup.spec
@@ -101,13 +101,14 @@ install -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
 mkdir -p %{buildroot}%{_tmpfilesdir}
 install -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}.conf
 
-
 %find_lang %{name}
 
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
+
 %pre
 %sysusers_create_compat %{SOURCE2}
 
-
 %files -f %{name}.lang
 %license COPYING
 %doc NEWS README.md

                 reply	other threads:[~2026-10-12 13:44 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=179181267978.1.4938443032003034851.rpms-gnome-initial-setup-19b3cbedf858@fedoraproject.org \
    --to=felipeborges@gnome.org \
    --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