summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-06-30 17:46:41 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-11-14 14:47:20 +0200
commit62b7ddbaac7a3c27959b2c72e1545234f06d5983 (patch)
treec43957288a7921e5797b954875526d7a54323161
parent1799cc26a19cd19acfe7a866561b70e6de632481 (diff)
downloadgit-buildpackage-62b7ddbaac7a3c27959b2c72e1545234f06d5983.tar.gz
git-buildpackage-62b7ddbaac7a3c27959b2c72e1545234f06d5983.tar.bz2
git-buildpackage-62b7ddbaac7a3c27959b2c72e1545234f06d5983.zip
buildpackage_rpm: always run cleaner hook
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py3
1 files changed, 1 insertions, 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: