Fix flatpak appstream metadata assembling

Adapt to upstream changes in solenv/bin/assemble-flatpak-appdata*
scripts: Separate step1 and step2 are gone and there is only a single
script to generate flatpak appstream metadata now.

See 48d09aa85e
This commit is contained in:
Kalev Lember 2023-08-07 12:33:07 +02:00
parent 27aaeedbbd
commit f695727d49

View File

@ -1475,12 +1475,9 @@ export DESTDIR=%{buildroot}
%if 0%{?flatpak}
# Assemble the libreoffice-*.appdata.xml files into a single
# org.libreoffice.LibreOffice.appdata.xml; first create the single file:
solenv/bin/assemble-flatpak-appdata-step1.sh \
# org.libreoffice.LibreOffice.appdata.xml:
solenv/bin/assemble-flatpak-appdata.sh \
%{buildroot}%{_datadir}/metainfo/ 0
# ...then append the original files to the single file:
solenv/bin/assemble-flatpak-appdata-step2.sh \
%{buildroot}%{_datadir}/metainfo/ %{buildroot}%{_datadir}/metainfo/
rm %{buildroot}%{_datadir}/metainfo/libreoffice-*.appdata.xml
%endif