diff options
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | gbp/scripts/buildpackage_rpm.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 827c2e16..f8d1a808 100644 --- a/debian/control +++ b/debian/control @@ -18,6 +18,7 @@ Build-Depends: sgml2x, librpm-tizen, # For rpm (epydoc) + rpm-common, python-rpm Standards-Version: 3.9.4 Vcs-Git: git://honk.sigxcpu.org/git/git-buildpackage.git @@ -65,6 +66,7 @@ Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-rpm, + rpm-common, rpm2cpio, git-buildpackage-common (= ${binary:Version}) Recommends: rpm diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index 56db5e13..8fb0b2a4 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: + 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']: |