RHEL 7 has supported AppStream data files being in /usr/share/metainfo
since RHEL 7.4.
So I think you don't need this patch
On Mon, 2019-04-29 at 05:08 +0200, Frank R Dana wrote:
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
_______________________________________________
rpmfusion-commits mailing list --
rpmfusion-commits(a)lists.rpmfusion.org
To unsubscribe send an email to
rpmfusion-commits-leave(a)lists.rpmfusion.org
--
Sérgio M. B.