From 46ec85693a0fd6cfa5fa0559c3f7a2b9e4c1a1a1 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 2 Mar 2015 17:38:44 +0200 Subject: Revert "buildpackage-rpm: always create tarball for native packages" Fixes: DEVT-215 This reverts commit efc490c4a8da5ce7a0bd1bf4a20009c3a445bb47. Change-Id: I2109f7ff48384a3b1190a73a3471bdc67f6d2427 Signed-off-by: Markus Lehtonen --- gbp/scripts/buildpackage_rpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']: -- cgit v1.2.3