commit e13c7c33fb2ef698c2a21a5775b5012a35a8522d
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Sun Apr 28 23:08:03 2019 -0400
Add appdata file moving, for EL7 (like old F27)
openshot.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/openshot.spec b/openshot.spec
index 426221a..ae58ac3 100644
--- a/openshot.spec
+++ b/openshot.spec
@@ -98,6 +98,12 @@ done
# Validate desktop file
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop
+%if 0%{?rhel}
+# Move appdata file to default location
+mkdir -p %{buildroot}%{_metainfodir}
+mv %{buildroot}%{_datadir}/metainfo/*.appdata.xml %{buildroot}%{_metainfodir}/
+%endif #rhel
+
# Validate appdata file
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
Show replies by date