buildpackage_rpm: create source archive without checking '--git-no-create-orig' option.
authorwanchao-xu <wanchao.xu@samsung.com>
Mon, 29 Apr 2024 09:07:10 +0000 (17:07 +0800)
committerwanchao-xu <wanchao.xu@samsung.com>
Mon, 29 Apr 2024 09:07:10 +0000 (17:07 +0800)
Change-Id: Ibe4321b94afe8f48377d7c2aa78fd46223997fa9
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
gbp/scripts/buildpackage_rpm.py

index 0a6eaefb58ca38f8e0ed16e4d787eea9cfe68cdb..a3b0d1297cd3d426a15bdf54508f8504331faa9d 100644 (file)
@@ -662,7 +662,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))