[virt-tools-list] [virt-manager PATCH] Install the AppStream file to the canonical location
Pino Toscano
ptoscano at redhat.com
Mon Jan 6 13:43:17 UTC 2020
The canonical location for AppStream XML files has been changed to
/usr/share/metainfo four years ago at least, with /usr/share/appdata
left as legacy location. It is time to switch to the right location.
Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
setup.py | 2 +-
virt-manager.spec.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 275087ba..ff15843f 100755
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ _desktop_files = [
("share/applications", ["data/virt-manager.desktop.in"]),
]
_appdata_files = [
- ("share/appdata", ["data/virt-manager.appdata.xml.in"]),
+ ("share/metainfo", ["data/virt-manager.appdata.xml.in"]),
]
diff --git a/virt-manager.spec.in b/virt-manager.spec.in
index 55e0b11a..ddab5767 100644
--- a/virt-manager.spec.in
+++ b/virt-manager.spec.in
@@ -155,9 +155,9 @@ done
%{_datadir}/%{name}/icons
%{_datadir}/icons/hicolor/*/apps/*
-%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
+%{_datadir}/metainfo/%{name}.appdata.xml
%files common -f %{name}.lang
--
2.24.1
More information about the virt-tools-list
mailing list