summaryrefslogtreecommitdiff
path: root/gbp
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>2014-06-05 14:20:06 +0300
commit532c7d990143ea6329bbd5d6d8573a89b3709fdf (patch)
treed9deb8eb7096c8907fb6dbefd9a0a14c7d001ec4 /gbp
parent7cb6e19ef67ba8df6278c46cac1fc7474ae61025 (diff)
downloadgit-buildpackage-532c7d990143ea6329bbd5d6d8573a89b3709fdf.tar.gz
git-buildpackage-532c7d990143ea6329bbd5d6d8573a89b3709fdf.tar.bz2
git-buildpackage-532c7d990143ea6329bbd5d6d8573a89b3709fdf.zip
buildpackage-rpm: listen to --no-create-orig option for native packages, too
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 9c86c072..ae4e494c 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -552,7 +552,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']: