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
f41
Kalev Lember 1 year ago
parent 27aaeedbbd
commit f695727d49

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

Loading…
Cancel
Save