public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-initial-setup] rawhide: Add desktop file validation test to %check
@ 2026-10-12 13:44 Felipe Borges
0 siblings, 0 replies; only message in thread
From: Felipe Borges @ 2026-10-12 13:44 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 13:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 13:44 [rpms/gnome-initial-setup] rawhide: Add desktop file validation test to %check Felipe Borges
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox