Don't need to remove extra pkgconfig file in install section.
[fedora-mingw.git] / compare / compare.sh
1 #!/bin/sh
2
3 for i in */*.spec
4 do
5   module=`dirname $i`
6
7   if [ "$module" == "portablexdr" ]; then continue ; fi
8   if [ "$module" == "example" ]; then continue ; fi
9   if [ "$module" == "filesystem" ]; then continue ; fi
10   if [ "$module" == "iconv" ]; then continue ; fi
11   if [ "$module" == "nsis" ]; then continue ; fi
12   if [ "$module" == "runtime" ]; then continue ; fi
13   if [ "$module" == "runtime-bootstrap" ]; then continue ; fi
14   if [ "$module" == "w32api" ]; then continue ; fi
15   if [ "$module" == "w32api-bootstrap" ]; then continue ; fi
16   
17
18   echo "------------------------------------------------------"
19   echo "Compare $module"
20
21   if [ "$module" == "gcc" ]; then
22     reference=$HOME/src/fedora/$module/devel/gcc43.spec
23   else
24     reference=$HOME/src/fedora/$module/devel/$module.spec
25   fi
26   suppression=$module/compare.supp
27   if [ ! -f $reference ]
28   then
29       echo "Missing reference module $reference"
30   else
31       python compare/compare.py $reference $i $suppression
32   fi
33   echo
34 done