From afa22002ed0fbc3c713d7fd81bdd838f60aaf2c5 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Mon, 3 Mar 2008 22:17:43 +0000 Subject: tell rpmbuild to clean it's working files after completion, bug #97776 svn path=/main/trunk/; revision=9428 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-1-g7c22