X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=compare%2Fcompare.sh;fp=compare%2Fcompare.sh;h=78aa023912d36905a38fc700850c3f6bb13bd5e1;hb=25b3b07a54f28bf76b586935e299e34ab2e9700c;hp=4ad66a6c9514f61d9e4f0a965f20e2b3d4a11715;hpb=5c2ad0db5227513df15f1cd0c0d2fd3a10859b8c;p=fedora-mingw.git diff --git a/compare/compare.sh b/compare/compare.sh index 4ad66a6..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/compare.py $reference $i + python compare/compare.py $reference $i $suppression fi echo done