1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

packaging(RHEL-CTDB): check for success of x86_64 build before building i386

Michael
(This used to be commit 3102582f02)
This commit is contained in:
Michael Adam 2008-08-12 23:46:50 +02:00
parent 8644db5787
commit cde6c647af

View File

@ -77,13 +77,13 @@ popd
echo "$(basename $0): Getting Ready to build release package"
pushd ${SPECDIR}
${RPM} -ba $EXTRA_OPTIONS $SPECFILE
[ `arch` = "x86_64" ] && {
if [ "x$?" = "x0" ] && [ `arch` = "x86_64" ]; then
echo "Building 32 bit winbind libs"
# hi ho, a hacking we will go ...
ln -sf /lib/libcom_err.so.2 /lib/libcom_err.so
ln -sf /lib/libuuid.so.1 /lib/libuuid.so
${RPM} -ba --rebuild --target=i386 $SPECFILE
}
fi
popd