Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 68647 | Differences between
and this patch

Collapse All | Expand All

(-)portage-2.0.51-r2-orig/bin/ebuild.sh (-1 / +6 lines)
Lines 1149-1155 Link Here
1149
dyn_rpm() {
1149
dyn_rpm() {
1150
	dyn_spec
1150
	dyn_spec
1151
	rpmbuild -bb "${PF}.spec" || die "Failed to integrate rpm spec file"
1151
	rpmbuild -bb "${PF}.spec" || die "Failed to integrate rpm spec file"
1152
	install -D "/usr/src/redhat/RPMS/i386/${PN}-${PV}-${PR}.i386.rpm" "${RPMDIR}/${CATEGORY}/${PN}-${PV}-${PR}.rpm" || die "Failed to move rpm"
1152
	if [ "`uname -m`" == "x86_64" ]; then
1153
		MY_ARCH=x86_64
1154
	else
1155
		MY_ARCH=i386
1156
	fi
1157
	install -D "/usr/src/redhat/RPMS/${MY_ARCH}/${PN}-${PV}-${PR}.${MY_ARCH}.rpm" "${RPMDIR}/${CATEGORY}/${PN}-${PV}-${PR}.rpm" || die "Failed to move rpm"
1153
}
1158
}
1154
1159
1155
dyn_help() {
1160
dyn_help() {

Return to bug 68647