--- portage-2.0.51.19.orig/bin/ebuild.sh 2005-04-07 11:31:19.095306224 -0500 +++ portage-2.0.51.19.orig/bin/ebuild.sh 2005-04-07 11:34:25.517965672 -0500 @@ -1294,7 +1294,7 @@ dyn_rpm() { dyn_spec rpmbuild -bb "${PF}.spec" || die "Failed to integrate rpm spec file" - install -D "/usr/src/redhat/RPMS/i386/${PN}-${PV}-${PR}.i386.rpm" "${RPMDIR}/${CATEGORY}/${PN}-${PV}-${PR}.rpm" || die "Failed to move rpm" + install -D "/usr/src/redhat/RPMS/`uname -m`/${PN}-${PV}-${PR}.`uname -m`.rpm" "${RPMDIR}/${CATEGORY}/${PN}-${PV}-${PR}.rpm" || die "Failed to move rpm" } dyn_help() {