commit 040975c0ca9d5d6ed4e84c32004e4f509db8d5d9
Author: Ben Rosser <rosser.bjr(a)gmail.com>
Date: Fri Dec 22 23:13:02 2017 +0000
Use new appdata path (/usr/share/metainfo) for openmw.
openmw.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/openmw.spec b/openmw.spec
index 4a58f52..5a7109e 100644
--- a/openmw.spec
+++ b/openmw.spec
@@ -109,7 +109,7 @@ desktop-file-validate
%{buildroot}/%{_datadir}/applications/openmw-cs.desktop
desktop-file-validate %{buildroot}/%{_datadir}/applications/openmw.desktop
# Test and install appdata file
-appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
# Remove font license file
rm -rf "%{buildroot}/%{_datadir}/licenses/%{name}/DejaVu Font License.txt"
@@ -133,7 +133,7 @@ mkdir -p %{buildroot}/%{_datadir}/%{name}/data
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}-cs.png
%{_datadir}/pixmaps/%{name}.png
-%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/metadata/%{name}.appdata.xml
%config(noreplace) %{_sysconfdir}/openmw/