From 50acacf6551ce254dc4c8c8766e6a66be43566bd37b5ce9b907532b52d783541 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 10 Aug 2020 09:14:34 +0000 Subject: [PATCH] Accepting request 824701 from home:guoyunhe:branches:mozilla:Factory2 - Change *.appdata.xml location to latest AppStream standard OBS-URL: https://build.opensuse.org/request/show/824701 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=850 --- MozillaFirefox.changes | 5 +++++ MozillaFirefox.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 2645ae9..9024c6b 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 6 14:37:16 UTC 2020 - Yunhe Guo + +- Change *.appdata.xml location to latest AppStream standard + ------------------------------------------------------------------- Thu Jul 23 21:00:34 UTC 2020 - Wolfgang Rosenauer diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 76c882d..09d6ce4 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -612,9 +612,9 @@ s:%%ICON:%{progname}:g" \ mkdir -p %{buildroot}%{_datadir}/mime/packages cp %{SOURCE8} %{buildroot}%{_datadir}/mime/packages/%{progname}.xml # appdata -mkdir -p %{buildroot}%{_datadir}/appdata +mkdir -p %{buildroot}%{_datadir}/metainfo sed "s:firefox.desktop:%{desktop_file_name}:g" \ - %{SOURCE15} > %{buildroot}%{_datadir}/appdata/%{desktop_file_name}.appdata.xml + %{SOURCE15} > %{buildroot}%{_datadir}/metainfo/%{desktop_file_name}.appdata.xml # install man-page mkdir -p %{buildroot}%{_mandir}/man1/ cp %{SOURCE11} %{buildroot}%{_mandir}/man1/%{progname}.1 @@ -747,7 +747,7 @@ exit 0 %{gnome_dir}/share/icons/hicolor/ %{_bindir}/%{progname} %doc %{_mandir}/man1/%{progname}.1.gz -%{_datadir}/appdata/ +%{_datadir}/metainfo/ %if 0%{?devpkg} %files devel