mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-05 09:17:45 +03:00
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. Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
7a991e4ad5
commit
e1e345a9a3
@ -81,7 +81,7 @@ mime_DATA = virt-viewer-mime.xml
|
||||
%-mime.xml: %-mime.xml.in $(PO_FILES)
|
||||
$(AM_V_GEN)GETTEXTDATADIR=$(srcdir)/gettext $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
|
||||
|
||||
appdatadir = $(datadir)/appdata
|
||||
appdatadir = $(datadir)/metainfo
|
||||
APPDATAFILES = remote-viewer.appdata.xml.in
|
||||
appdata_DATA = $(APPDATAFILES:.xml.in=.xml)
|
||||
%.appdata.xml: %.appdata.xml.in $(PO_FILES)
|
||||
|
@ -110,7 +110,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/icons/hicolor/*/devices/*
|
||||
%{_datadir}/applications/remote-viewer.desktop
|
||||
%{_datadir}/appdata/remote-viewer.appdata.xml
|
||||
%{_datadir}/metainfo/remote-viewer.appdata.xml
|
||||
%{_datadir}/mime/packages/virt-viewer-mime.xml
|
||||
%{_mandir}/man1/virt-viewer.1*
|
||||
%{_mandir}/man1/remote-viewer.1*
|
||||
|
Loading…
Reference in New Issue
Block a user