summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2019-02-20 13:13:50 +0800
committerbiao716.wang <biao716.wang@samsung.com>2019-02-20 13:19:30 +0800
commit6f384cf8a99cbc0cbec0d8c242a0785d4545a7c8 (patch)
treeef86489ce31d41592819f284c407397a065e8f57
parent2dbd71c386ed3549e386d354d2003281ac433e50 (diff)
downloadgit-buildpackage-6f384cf8a99cbc0cbec0d8c242a0785d4545a7c8.tar.gz
git-buildpackage-6f384cf8a99cbc0cbec0d8c242a0785d4545a7c8.tar.bz2
git-buildpackage-6f384cf8a99cbc0cbec0d8c242a0785d4545a7c8.zip
Change-Id: Idf6a378cd3dd056013c07a3c5263a6b2bea07608 Signed-off-by: biao716.wang <biao716.wang@samsung.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 8fb0b2a4..56db5e13 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 and not options.no_create_orig:
+ if spec.orig_src:
# 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']: