public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/thonny] rawhide: spec cleanup and modernization
@ 2026-07-10  2:39 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-10  2:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/thonny
            Branch : rawhide
            Commit : 2e45eff80b08fe856ce5298387c50688988f5450
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-25T23:40:27-03:00
            Stats  : +5/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/thonny/c/2e45eff80b08fe856ce5298387c50688988f5450?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/thonny.spec b/thonny.spec
index 2a9dd89..4523162 100644
--- a/thonny.spec
+++ b/thonny.spec
@@ -53,6 +53,9 @@ rm thonny/locale/compile_mo.bat thonny/locale/update_pot.bat thonny/locale/thonn
 # Remove the vendored python-filelock
 rm -r thonny/vendored_libs/filelock/
 
+# Remove macOS metadata files
+find thonny -name ".DS_Store" -delete
+
 %generate_buildrequires
 %pyproject_buildrequires
 
@@ -80,10 +83,10 @@ install -D -m 0644 -t %{buildroot}%{_datadir}/metainfo                    packag
 install -D -m 0644 -t %{buildroot}%{_mandir}/man1                         packaging/linux/thonny.1
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications           packaging/linux/org.thonny.Thonny.desktop
 
-appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.thonny.Thonny.appdata.xml
-
 
 %check
+desktop-file-validate %{buildroot}%{_datadir}/applications/org.thonny.Thonny.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.thonny.Thonny.appdata.xml
 %global __pytest xvfb-run %__pytest
 %pytest --pyargs thonny
 

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

only message in thread, other threads:[~2026-07-10  2:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10  2:39 [rpms/thonny] rawhide: spec cleanup and modernization Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox