X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=compare%2Fcompare.sh;h=78aa023912d36905a38fc700850c3f6bb13bd5e1;hb=df3d9fe37366f2795711c9b1b08fd6265c459be6;hp=08102a973ffd1c195e56a2b9b4ec903ba46e4ea0;hpb=0c016de04848575eef55be3b48ca5446e995e25d;p=fedora-mingw.git diff --git a/compare/compare.sh b/compare/compare.sh index 08102a9..78aa023 100644 --- a/compare/compare.sh +++ b/compare/compare.sh @@ -4,15 +4,31 @@ for i in */*.spec do module=`dirname $i` + if [ "$module" == "portablexdr" ]; then continue ; fi + if [ "$module" == "example" ]; then continue ; fi + if [ "$module" == "filesystem" ]; then continue ; fi + if [ "$module" == "iconv" ]; then continue ; fi + if [ "$module" == "nsis" ]; then continue ; fi + if [ "$module" == "runtime" ]; then continue ; fi + if [ "$module" == "runtime-bootstrap" ]; then continue ; fi + if [ "$module" == "w32api" ]; then continue ; fi + if [ "$module" == "w32api-bootstrap" ]; then continue ; fi + + echo "------------------------------------------------------" echo "Compare $module" - reference=$HOME/src/fedora/$module/devel/$module.spec + if [ "$module" == "gcc" ]; then + reference=$HOME/src/fedora/$module/devel/gcc43.spec + else + reference=$HOME/src/fedora/$module/devel/$module.spec + fi + suppression=$module/compare.supp if [ ! -f $reference ] then echo "Missing reference module $reference" else - python compare.py $reference $i + python compare/compare.py $reference $i $suppression fi echo done