From: Zac Medico Date: Fri, 28 Mar 2008 11:44:39 +0000 (-0000) Subject: Bug #97776 - Tell rpmbuild to clean it's working files after completion. X-Git-Tag: v2.1.5~343 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b72320fe4e815f7818560d076138a95dda56a46d;p=portage.git Bug #97776 - Tell rpmbuild to clean it's working files after completion. (trunk r9428) svn path=/main/branches/2.1.2/; revision=9547 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 680c5b185..d38c9a14f 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -598,7 +598,7 @@ dyn_rpm() { addwrite /usr/src/rpm addwrite "${RPMDIR}" dyn_spec - rpmbuild -bb "${PF}.spec" || die "Failed to integrate rpm spec file" + rpmbuild -bb --clean --rmsource "${PF}.spec" || die "Failed to integrate rpm spec file" install -D "/usr/src/rpm/RPMS/i386/${PN}-${PV}-${PR}.i386.rpm" \ "${RPMDIR}/${CATEGORY}/${PN}-${PV}-${PR}.rpm" || \ die "Failed to move rpm"