Very partial patches to build Python3.
[fedora-mingw.git] / build-everything-in-mock.sh
1 #!/bin/bash -
2
3 # These are the packages we don't want to build yet:
4 nobuild="example
5 cyrus-sasl
6 gdb
7 pidgin
8 python
9 python3
10 nspr
11 nss
12 virt-ctrl
13 wix"
14
15 rm -f */*.src.rpm
16
17 for dir in *; do
18     if ! echo "$nobuild" | grep -sq "^$dir\$"; then
19         if [ -d $dir -a -f $dir/*.spec ]; then
20             (
21                 cd $dir
22                 rpmbuild -bs --define "_sourcedir $(pwd)" --define "_srcrpmdir $(pwd)" *.spec
23             )
24         fi
25     fi
26 done
27
28 smock/smock.pl --arch=i386 --arch=x86_64 --distro=fedora-10 */*.src.rpm