summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-04-02 10:50:08 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-04-03 10:11:42 +0300
commitd6869ebbb7bd942179a8ddc335d45f24438a30ee (patch)
treeb7eec15543c659b89f30c2bd65989cab1e7f7726
parentbc55db62de09bc811f2106924c5327b9a4249516 (diff)
downloadgit-buildpackage-d6869ebbb7bd942179a8ddc335d45f24438a30ee.tar.gz
git-buildpackage-d6869ebbb7bd942179a8ddc335d45f24438a30ee.tar.bz2
git-buildpackage-d6869ebbb7bd942179a8ddc335d45f24438a30ee.zip
buildpackage-rpm: listen to --no-create-orig option for native packages, too
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 4eb887f5..33c5f447 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -542,7 +542,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']: