Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9547 - main/branches/2.1.2/bin
Date: Fri, 28 Mar 2008 11:44:43
Message-Id: E1JfD0i-0006bs-Bg@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-28 11:44:39 +0000 (Fri, 28 Mar 2008)
3 New Revision: 9547
4
5 Modified:
6 main/branches/2.1.2/bin/misc-functions.sh
7 Log:
8 Bug #97776 - Tell rpmbuild to clean it's working files after completion.
9 (trunk r9428)
10
11
12 Modified: main/branches/2.1.2/bin/misc-functions.sh
13 ===================================================================
14 --- main/branches/2.1.2/bin/misc-functions.sh 2008-03-28 11:42:44 UTC (rev 9546)
15 +++ main/branches/2.1.2/bin/misc-functions.sh 2008-03-28 11:44:39 UTC (rev 9547)
16 @@ -598,7 +598,7 @@
17 addwrite /usr/src/rpm
18 addwrite "${RPMDIR}"
19 dyn_spec
20 - rpmbuild -bb "${PF}.spec" || die "Failed to integrate rpm spec file"
21 + rpmbuild -bb --clean --rmsource "${PF}.spec" || die "Failed to integrate rpm spec file"
22 install -D "/usr/src/rpm/RPMS/i386/${PN}-${PV}-${PR}.i386.rpm" \
23 "${RPMDIR}/${CATEGORY}/${PN}-${PV}-${PR}.rpm" || \
24 die "Failed to move rpm"
25
26 --
27 gentoo-commits@l.g.o mailing list