From 62b7ddbaac7a3c27959b2c72e1545234f06d5983 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 30 Jun 2014 17:46:41 +0300 Subject: buildpackage_rpm: always run cleaner hook Signed-off-by: Markus Lehtonen --- gbp/scripts/buildpackage_rpm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index 20230abd..5e24416e 100755 --- a/gbp/scripts/buildpackage_rpm.py +++ b/gbp/scripts/buildpackage_rpm.py @@ -548,8 +548,7 @@ def main(argv): try: tree, relative_spec_path = guess_export_params(repo, options) - if not options.export_only: - Command(options.cleaner, shell=True)() + Command(options.cleaner, shell=True)() if not options.ignore_new: (ret, out) = repo.is_clean(options.ignore_untracked) if not ret: -- cgit v1.2.3