diff --git a/idle3.appdata.xml b/idle3.appdata.xml
index 554b7c4..b494f1e 100644
--- a/idle3.appdata.xml
+++ b/idle3.appdata.xml
@@ -1,16 +1,16 @@
-
-
- idle3.desktop
+
+ org.python.IDLE3
+ idle3.desktop
+
IDLE3
- CC0
- Python-2.0
Python 3 Integrated Development and Learning Environment
+
IDLE is Python’s Integrated Development and Learning Environment.
- The GUI is uniform between Windows, Unix, and Mac OS X.
+ The GUI is uniform between Windows, Unix, and macOS.
IDLE provides an easy way to start writing, running, and debugging
Python code.
@@ -19,17 +19,33 @@
It provides:
- - a Python shell window (interactive interpreter) with colorizing of code input, output, and error messages,
- - a multi-window text editor with multiple undo, Python colorizing, smart indent, call tips, auto completion, and other features,
- - search within any window, replace within editor windows, and search through multiple files (grep),
- - a debugger with persistent breakpoints, stepping, and viewing of global and local namespaces.
+ - a Python shell window (interactive interpreter) with colorizing of code input, output, and error messages,
+ - a multi-window text editor with multiple undo, Python colorizing, smart indent, call tips, auto completion, and other features,
+ - search within any window, replace within editor windows, and search through multiple files (grep),
+ - a debugger with persistent breakpoints, stepping, and viewing of global and local namespaces.
+
+
+ Python Software Foundation
+
+
https://docs.python.org/3/library/idle.html
+
- http://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-main-window.png
- http://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-class-browser.png
- http://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-code-viewer.png
+
+ https://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-main-window.png
+
+
+ https://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-class-browser.png
+
+
+ https://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-code-viewer.png
+
+
+ Python-2.0
+ CC0-1.0
zbyszek@in.waw.pl
-
+
+
diff --git a/python312.changes b/python312.changes
index 739f893..66cab89 100644
--- a/python312.changes
+++ b/python312.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Thu Sep 18 08:15:31 UTC 2025 - Dominique Leuenberger
+
+- Require AppStream to validate appdata file instead of deprecated
+ appstream-glib.
+- Update idle3.appdata.xml to pass the more pedantic appstreamcli.
+
-------------------------------------------------------------------
Fri Aug 1 20:09:24 UTC 2025 - Matej Cepl
diff --git a/python312.spec b/python312.spec
index a614442..d21735e 100644
--- a/python312.spec
+++ b/python312.spec
@@ -1,7 +1,7 @@
#
# spec file for package python312
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -230,7 +230,7 @@ BuildRequires: python3-dataclasses
%endif
%if %{with general}
# required for idle3 (.desktop and .appdata.xml files)
-BuildRequires: appstream-glib
+BuildRequires: AppStream
BuildRequires: gcc-c++
BuildRequires: gdbm-devel
BuildRequires: gettext
@@ -698,7 +698,7 @@ install -m 644 -D -t %{buildroot}%{_datadir}/applications idle%{python_version}.
cp %{SOURCE20} idle%{python_version}.appdata.xml
sed -i -e 's:idle3.desktop:idle%{python_version}.desktop:g' idle%{python_version}.appdata.xml
install -m 644 -D -t %{buildroot}%{_datadir}/metainfo idle%{python_version}.appdata.xml
-appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/idle%{python_version}.appdata.xml
+appstreamcli validate --no-net %{buildroot}%{_datadir}/metainfo/idle%{python_version}.appdata.xml
%fdupes %{buildroot}/%{_libdir}/python%{python_version}
%endif