Keep same with review.tizen.org
authorJun Wang <junbill.wang@samsung.com>
Fri, 28 Apr 2017 03:43:51 +0000 (11:43 +0800)
committerJun Wang <junbill.wang@samsung.com>
Fri, 28 Apr 2017 03:44:06 +0000 (11:44 +0800)
Change-Id: Ibeca0fc7f878a4e01d0de21509ff766155dbd935

gbp/scripts/buildpackage_rpm.py

index 8fb0b2a45de019446541f089c2c0f5d64ba56861..56db5e135ab0361711a2152fce61c7caa87fc38d 100755 (executable)
@@ -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']: