forked from pool/python313
Accepting request 1306454 from home:dimstar:Factory
- Drop AppStream: this results in a different cycle than appstream-glib. As the appdata.xml is controlled by ourselves, we can get away with just manually validating it when changing it. OBS-URL: https://build.opensuse.org/request/show/1306454 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=124
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 22 06:41:53 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Drop AppStream: this results in a different cycle than
|
||||||
|
appstream-glib. As the appdata.xml is controlled by ourselves, we
|
||||||
|
can get away with just manually validating it when changing it.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 18 08:15:31 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
Thu Sep 18 08:15:31 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -287,8 +287,6 @@ ExcludeArch: aarch64
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with general}
|
%if %{with general}
|
||||||
# required for idle3 (.desktop and .appdata.xml files)
|
|
||||||
BuildRequires: AppStream
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gdbm-devel
|
BuildRequires: gdbm-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@@ -780,7 +778,6 @@ install -m 644 -D -t %{buildroot}%{_datadir}/applications idle%{python_abi}.desk
|
|||||||
cp %{SOURCE20} idle%{python_abi}.appdata.xml
|
cp %{SOURCE20} idle%{python_abi}.appdata.xml
|
||||||
sed -i -e 's:idle3.desktop:idle%{python_abi}.desktop:g' idle%{python_abi}.appdata.xml
|
sed -i -e 's:idle3.desktop:idle%{python_abi}.desktop:g' idle%{python_abi}.appdata.xml
|
||||||
install -m 644 -D -t %{buildroot}%{_datadir}/metainfo idle%{python_abi}.appdata.xml
|
install -m 644 -D -t %{buildroot}%{_datadir}/metainfo idle%{python_abi}.appdata.xml
|
||||||
appstreamcli validate --no-net %{buildroot}%{_datadir}/metainfo/idle%{python_version}.appdata.xml
|
|
||||||
|
|
||||||
%fdupes %{buildroot}/%{_libdir}/python%{python_abi}
|
%fdupes %{buildroot}/%{_libdir}/python%{python_abi}
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
Reference in New Issue
Block a user