diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-03-02 17:38:44 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-03-03 17:37:00 +0200 |
commit | 46ec85693a0fd6cfa5fa0559c3f7a2b9e4c1a1a1 (patch) | |
tree | be449f1d64206a128f663cf6f010e411ae0edf51 | |
parent | b7d2c5ec226f657196dae2262b42a21bc7730668 (diff) | |
download | git-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-x | gbp/scripts/buildpackage_rpm.py | 2 |
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']: |