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