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-06-30 18:28:23 +0300
commit6b64f73538f8e516f7c5cbd608fe28d165b60b93 (patch)
tree9b0d3bd4367fd92a118f887e6d8c5ff4d026abfc
parentc3c92011066dfbe9234d9de8e31d4b86463b20d4 (diff)
downloadgit-buildpackage-6b64f73538f8e516f7c5cbd608fe28d165b60b93.tar.gz
git-buildpackage-6b64f73538f8e516f7c5cbd608fe28d165b60b93.tar.bz2
git-buildpackage-6b64f73538f8e516f7c5cbd608fe28d165b60b93.zip
buildpackage_rpm: always run cleaner hook
Change-Id: Ia13115e40a186e83c93cee3fe559005eb85858a3 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: