From a7e8587891a2e2664803bfa9eddf3f287889d123cf969d847cacd570843f5053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 22 Sep 2025 09:07:56 +0000 Subject: [PATCH] - Drop AppStream buildrequires and don't run appstreamcli validate as part of the build process: the appdata.xml is not updated by source directly, so we have more contol. Having Appstream or the deprecated appstream-glib result in a build cycle. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=195 --- python311.changes | 8 ++++++++ python311.spec | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python311.changes b/python311.changes index c2ddfe2..6a31432 100644 --- a/python311.changes +++ b/python311.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 19 14:38:03 UTC 2025 - Dominique Leuenberger + +- Drop AppStream buildrequires and don't run appstreamcli validate + as part of the build process: the appdata.xml is not updated by + source directly, so we have more contol. Having Appstream or the + deprecated appstream-glib result in a build cycle. + ------------------------------------------------------------------- Thu Sep 18 08:15:31 UTC 2025 - Dominique Leuenberger diff --git a/python311.spec b/python311.spec index ad48945..88c360e 100644 --- a/python311.spec +++ b/python311.spec @@ -226,8 +226,6 @@ BuildRequires: python3-python-docs-theme >= 2022.1 %endif %endif %if %{with general} -# required for idle3 (.desktop and .appdata.xml files) -BuildRequires: AppStream BuildRequires: gcc-c++ BuildRequires: gdbm-devel BuildRequires: gettext @@ -685,7 +683,6 @@ 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 -appstreamcli validate --no-net %{buildroot}%{_datadir}/metainfo/idle%{python_version}.appdata.xml %fdupes %{buildroot}/%{_libdir}/python%{python_version} %endif