commit e0638f11147b806171cbe11a6cba9a7681a14976
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Tue Sep 25 04:05:40 2018 -0400
AppData files are in a different place on F27
openshot.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/openshot.spec b/openshot.spec
index e8add29..788e7f2 100644
--- a/openshot.spec
+++ b/openshot.spec
@@ -104,7 +104,8 @@ done
# Validate desktop file
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop
-# Validate appdata file
+# Move appdata file to default location and validate
+mv %{buildroot}%{_datadir}/metainfo/*.appdata.xml %{buildroot}%{_metainfodir}/
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
# Move icon files to the preferred location — fixed upstream