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

Igor Gnatenko notifications at github.com
Tue Nov 15 08:17:07 UTC 2016


ignatenkobrain 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/})"

I think for plugins it should not be same...

-- 
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#pullrequestreview-8553823
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20161115/72280710/attachment.html>


More information about the Rpm-maint mailing list