File rpm-utils-0.9.18-buildreq.patch of Package rpm-utils

diff -urp rpm-utils-0.9.18/buildreq rpm-utils-0.9.18-buildreq/buildreq
--- rpm-utils-0.9.18/buildreq	2014-01-17 16:07:05.000000000 +0200
+++ rpm-utils-0.9.18-buildreq/buildreq	2014-08-28 19:09:24.000000000 +0300
@@ -32,7 +32,7 @@ ESSENTIAL=/etc/buildreqs/packages/essent
 IGNORE=/etc/buildreqs/packages/ignore.d
 FILEREQ=filereq
 PACKAGEREQ=packagereq
-export RPM=rpm
+RPM=rpmbuild
 DEFSTAGE=c
 STAGE=
 RPMARG="--nodeps --define '__buildreqs 1' --define '__nprocs 1'"
@@ -162,6 +162,7 @@ for SPEC; do
 		PRUNED=1
 	fi
 	eval "TERM=\"$(quote_shell "$NEWTERM")\" \
+		RPM_BUILD_NCPUS=1 \
 		\"$(quote_shell "$PACKAGEREQ")\" \
 		-o \"$(quote_shell "$REQFILE")\" \
 		-u \"$(quote_shell "$PRUNEDFILE")\" \
openSUSE Build Service is sponsored by