Allow re-execution of the do_prep() function 59/24959/3
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 24 Jul 2014 11:50:29 +0000 (13:50 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 25 Jul 2014 13:32:28 +0000 (15:32 +0200)
commitc0c36c4ccc6863322ebe17dde698dde204a94d3b
treed4e0e5446522f10655eeb22bd09984f2d6450633
parentf5b39b3955e10a26fc9fe933f478d8255ad861d8
Allow re-execution of the do_prep() function

When building rpm a second time, the do_prep() function fails because it
assumes it hasn't already ran but will be re-using the previous build
directory which hasn't been cleaned. This patch prevent such a situation
to fail.

Bug-Tizen: BTY-15
Change-Id: I2fe631893f002dc8c093dc18f388fff5033170fc
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/rpm/rpm.inc