37 |
|
|
38 |
build_package() |
build_package() |
39 |
{ |
{ |
40 |
if mzbuild $1 --specfile $SPEC >> $LOG 2>&1 |
if LANG=en_US mzbuild $1 --specfile $SPEC >> $LOG 2>&1 |
41 |
then |
then |
42 |
release_rpms *.rpm |
release_rpms *.rpm |
43 |
else |
else |
48 |
for package in $(ls /builds/cvsroot/smeserver | grep "^$1.*$") |
for package in $(ls /builds/cvsroot/smeserver | grep "^$1.*$") |
49 |
do |
do |
50 |
case $package in |
case $package in |
51 |
CVSROOT|anaconda|builds_bin|cdrom.image|devguide|isolinux) |
CVSROOT|anaconda|booty|builds_bin|cdrom.image|devguide|isolinux) |
52 |
continue |
continue |
53 |
;; |
;; |
54 |
esac |
esac |
70 |
if [ -z "$SPEC" ] |
if [ -z "$SPEC" ] |
71 |
then |
then |
72 |
echo "Not building $package (No SPEC file)" |
echo "Not building $package (No SPEC file)" |
73 |
|
rm -f $LOG |
74 |
continue |
continue |
75 |
else |
else |
76 |
TAGS=$(cvs status -v $SPEC | awk '/\(revision:/{ print $1 }' | sort -u) |
TAGS=$(cvs status -v $SPEC | awk '/\(branch:/ && !/\(branch: 1\.1\.1\)/ { print $1 }' | sort -u) |
77 |
fi |
fi |
78 |
check_package |
check_package |
79 |
|
|