From e591fdec951825bae7f1159418d59f111562f163 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Wed, 17 Jan 2018 17:06:14 +0100 Subject: [PATCH] Install metadata package for Gnome Software to metainfo directory. Signed-off-by: Vitaly Zaitsev --- kepka.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kepka.spec b/kepka.spec index d7ffaad51..82a6b0c3a 100644 --- a/kepka.spec +++ b/kepka.spec @@ -87,11 +87,11 @@ for size in 16 32 48 64 128 256 512; do done # Installing appdata for Gnome Software... -install -d "%{buildroot}%{_datadir}/appdata" -install -m 0644 -p lib/xdg/telegramdesktop.appdata.xml "%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml" +install -d "%{buildroot}%{_datadir}/metainfo" +install -m 0644 -p lib/xdg/telegramdesktop.appdata.xml "%{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml" %check -appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml" +appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml" %files %doc README.md changelog.txt @@ -99,7 +99,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/appdata/%{name}.a %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png -%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/metainfo/%{name}.appdata.xml %changelog * Thu Dec 21 2017 Vitaly Zaitsev - 1.0.0-1