summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-03-02 17:38:44 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-03-03 17:37:00 +0200
commit46ec85693a0fd6cfa5fa0559c3f7a2b9e4c1a1a1 (patch)
treebe449f1d64206a128f663cf6f010e411ae0edf51
parentb7d2c5ec226f657196dae2262b42a21bc7730668 (diff)
downloadgit-buildpackage-46ec85693a0fd6cfa5fa0559c3f7a2b9e4c1a1a1.tar.gz
git-buildpackage-46ec85693a0fd6cfa5fa0559c3f7a2b9e4c1a1a1.tar.bz2
git-buildpackage-46ec85693a0fd6cfa5fa0559c3f7a2b9e4c1a1a1.zip
Revert "buildpackage-rpm: always create tarball for native packages"
Fixes: DEVT-215 This reverts commit efc490c4a8da5ce7a0bd1bf4a20009c3a445bb47. Change-Id: I2109f7ff48384a3b1190a73a3471bdc67f6d2427 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index dcfa3ace..b8c1e0d1 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -611,7 +611,7 @@ def main(argv):
# Get/build the orig tarball
if is_native(repo, options):
- if spec.orig_src:
+ if spec.orig_src and not options.no_create_orig:
# Just build source archive from the exported tree
gbp.log.info("Creating (native) source archive %s from '%s'" % (spec.orig_src['filename'], tree))
if spec.orig_src['compression']: