summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-03-02 17:38:44 +0200
committerSoonKyu Park <sk7.park@samsung.com>2016-06-11 16:40:09 +0900
commitaade221e153f2898398e6e6d90ffe8cf6e0541ea (patch)
tree162d81ea2ccfa657b6cd220da7deb9609a4ad451 /gbp
parent4a6efd0a6276151f336b300235910e7443904efd (diff)
downloadgit-buildpackage-aade221e153f2898398e6e6d90ffe8cf6e0541ea.tar.gz
git-buildpackage-aade221e153f2898398e6e6d90ffe8cf6e0541ea.tar.bz2
git-buildpackage-aade221e153f2898398e6e6d90ffe8cf6e0541ea.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>
Diffstat (limited to 'gbp')
-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 2b4f6386..f5468401 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -621,7 +621,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']: