[Rpm-maint] [rpm-software-management/rpm] appdata -> appstream, add support for metainfo files (#98)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Tue Nov 15 10:52:25 UTC 2016


Conan-Kudo commented on this pull request.



> +#
+# Transform appdata/metainfo xml file into RPM appstream(filename) provides
+#
+# Author: Michael Schroeder <mls at suse.de>
+# Based on other provides scripts from RPM
+
+OLD_IFS="$IFS"
+while read instfile ; do
+	case "$instfile" in
+	*.appdata.xml)
+		echo "appstream()"
+		echo "appstream(${instfile##*/appdata/})"
+		;;
+	*.metainfo.xml)
+		echo "appstream()"
+		echo "appstream(${instfile##*/metainfo/})"

`*.metainfo.xml` is being used for everything now. You can see this in new KDE AppStream files, and GNOME ones as well. They aren't called `*.appdata.xml` anymore.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/98
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20161115/e9e19777/attachment.html>


More information about the Rpm-maint mailing list