Atul Paralikar wrote:
So you mean after rebuilding the package from spec file, I need to run the
same rebuild command for 64bit?
rpmbuild -bb --with cnt50 qmail-toaster.spec
rpmbuild -bb --with cnt5064 qmail-toaster.spec
Am I correct?
No, when you modified the code, you needed to build the src package:
rpmbuild -bs qmail-toaster.spec
Then build it for your system:
rpmbuild --rebuild --with cnt5064
/usr/src/redhat/SRPMS/qmail-toaster-*.src.rpm
rpm --replacefiles --replacepkgs -Uvh
/usr/src/redhat/RPMS/x86_64/qmail-toaster*.rpm
When you initially build from the spec file, if you specify binary (-bb)
then it only build for CentOS 5 32-bit since you cannot specify
compilation flags at that stage.
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]