From 9a6e36d6e3596556f1b5aff7e13d2abbfd6f5e0120e7dac2777ea123ccec39ca Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 23 Apr 2015 07:24:00 +0000 Subject: [PATCH] - No need to validate appdata.xml.gz in a yast2 repo: those are created by kiwi, which in turn spanws appstream-builder: we can trust that it creates valid enough metadata. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=21 --- InstallAppdata.sh | 5 +++-- libzypp-plugin-appdata.changes | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/InstallAppdata.sh b/InstallAppdata.sh index f2ad433..3a00a4d 100644 --- a/InstallAppdata.sh +++ b/InstallAppdata.sh @@ -40,9 +40,10 @@ while ([ "$1" = "-R" ]); do fi ;; yast2) - if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then + # We do not validate an appdata.xml.gz in a yast2 repo: those are created by appstream-builder, and we can trust them + #if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then appstream-util install-origin "$2" "$6$YAST2/appdata.xml.gz" "$6$YAST2/appdata-icons.tar.gz" 2>&1 > /dev/null - fi + #fi ;; *) echo "unknown repo type - Appstream data not considered" diff --git a/libzypp-plugin-appdata.changes b/libzypp-plugin-appdata.changes index cefd21e..4c6522e 100644 --- a/libzypp-plugin-appdata.changes +++ b/libzypp-plugin-appdata.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 23 07:23:16 UTC 2015 - dimstar@opensuse.org + +- No need to validate appdata.xml.gz in a yast2 repo: those are + created by kiwi, which in turn spanws appstream-builder: we can + trust that it creates valid enough metadata. + ------------------------------------------------------------------- Tue Apr 7 11:42:52 UTC 2015 - dimstar@opensuse.org