-------------------------------------------------------------------
+Mon Dec 9 11:53:06 CET 2013 - mls@suse.de
+
+- make repo2solv.sh work when appdata support is off
+- enable appdata support for SUSE
+
+-------------------------------------------------------------------
Tue Dec 3 14:30:17 CET 2013 - mls@suse.de
- support appdata parsing and auto-pattern generation in tools
fi
# This contains appdata
+ appdataxml=
appdatafile=
- appdataxml=`repomd_findfile appdata appdata.xml`
+ if test -x /usr/bin/appdata2solv ; then
+ appdataxml=`repomd_findfile appdata appdata.xml`
+ fi
if test -n "$appdataxml" -a -s "$appdataxml" ; then
appdatafile=`mktemp` || exit 3
repomd_decompress "$appdataxml" | appdata2solv $parser_options > $appdatafile || exit 4
olddir=`pwd`
DESCR=$(get_DESCRDIR)
cd ${DESCR} || exit 2
+ appdataxml=
appdatafile=
- appdataxml=`susetags_findfile appdata.xml`
+ if test -x /usr/bin/appdata2solv ; then
+ appdataxml=`susetags_findfile appdata.xml`
+ fi
if test -n "$appdataxml" ; then
appdatafile=`mktemp` || exit 3
repomd_decompress "$appdataxml" | appdata2solv $parser_options > $appdatafile || exit 4