Use metainfodir macro directly

This commit is contained in:
Joshua Stone 2020-12-08 00:55:50 -05:00
parent 65990a1bf1
commit d55030367e

View File

@ -25,15 +25,15 @@ install -m 0644 ../ubuntu/multimc/opt/multimc/icon.svg %{buildroot}/opt/multimc/
install -m 0755 ../ubuntu/multimc/opt/multimc/run.sh %{buildroot}/opt/multimc/run.sh install -m 0755 ../ubuntu/multimc/opt/multimc/run.sh %{buildroot}/opt/multimc/run.sh
mkdir -p %{buildroot}/%{_datadir}/applications mkdir -p %{buildroot}/%{_datadir}/applications
install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop
mkdir -p %{buildroot}/%{_datadir}/metainfo mkdir -p %{buildroot}/%{_metainfodir}
install -m 0644 ../linux/multimc.metainfo.xml %{buildroot}/%{_datadir}/metainfo/multimc.metainfo.xml install -m 0644 ../linux/multimc.metainfo.xml %{buildroot}/%{_metainfodir}/multimc.metainfo.xml
%files %files
%dir /opt/multimc %dir /opt/multimc
/opt/multimc/icon.svg /opt/multimc/icon.svg
/opt/multimc/run.sh /opt/multimc/run.sh
%{_datadir}/applications/multimc.desktop %{_datadir}/applications/multimc.desktop
%{_datadir}/metainfo/multimc.metainfo.xml %{_metainfodir}/multimc.metainfo.xml
%changelog %changelog