#
# Create rpm for 65 and 32 bit linux.
#
# creating /usr/src/packages/RPMS/x86_64/yudit-2.9.2-1.x86_64.rpm
cp yudit-2.9.2.tar.gz /usr/src/packages/SOURCES/yudit-2.9.2.tar.gz
rpmbuild -ba yudit-2.9.2/yudit-2.9.2.spec
# using /usr/src/packages/SRPMS/yudit-2.9.2-1.src.rpm
cp /usr/src/packages/SRPMS/yudit-2.9.2-1.src.rpm .
CC='gcc -m32' CXX='g++ -m32' linux32 rpmbuild --rebuild --target=i586 yudit-2.9.2-1.src.rpm
