From: Marius Mauch Date: Mon, 3 Mar 2008 22:17:43 +0000 (-0000) Subject: tell rpmbuild to clean it's working files after completion, bug #97776 X-Git-Tag: v2.2_pre4~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=afa22002ed0fbc3c713d7fd81bdd838f60aaf2c5;p=portage.git tell rpmbuild to clean it's working files after completion, bug #97776 svn path=/main/trunk/; revision=9428 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 3ccb7e7b0..6dbb75e09 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -623,7 +623,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"