Install the AppStream file to the canonical location
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. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
a9cbc4e583
commit
9b7c819c64
2
setup.py
2
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"]),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue