diff options
author | Jun Wang <junbill.wang@samsung.com> | 2016-05-10 15:03:01 +0800 |
---|---|---|
committer | Jun Wang <junbill.wang@samsung.com> | 2016-05-10 15:04:42 +0800 |
commit | cd4c5addd10e00af3c480b941fb52057573b7c67 (patch) | |
tree | 03d625ccc968787ea7c63f19a80334e4c9b27f1b /gbp/scripts | |
parent | 622de749078200309a485ba287d3b698882f14a9 (diff) | |
download | git-buildpackage-cd4c5addd10e00af3c480b941fb52057573b7c67.tar.gz git-buildpackage-cd4c5addd10e00af3c480b941fb52057573b7c67.tar.bz2 git-buildpackage-cd4c5addd10e00af3c480b941fb52057573b7c67.zip |
1. Reset to 0.27debian/0.7.4
2. Keep same code with latest release
Change-Id: I30588773b0a039c9f5002bf65b5c768a16fb7935
Diffstat (limited to 'gbp/scripts')
-rw-r--r-- | gbp/scripts/common/import_orig.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gbp/scripts/common/import_orig.py b/gbp/scripts/common/import_orig.py index 45e71c57..16244423 100644 --- a/gbp/scripts/common/import_orig.py +++ b/gbp/scripts/common/import_orig.py @@ -148,16 +148,6 @@ def prepare_sources(source, pkg_name, pkg_version, pristine_commit_name, pristine_path = pristine.path if pristine else '' return (filtered.unpacked, pristine_path) -def repack_source(source, new_name, unpack_dir, filters, new_prefix=None): - """Repack the source tree""" - repacked = source.pack(new_name, filters, new_prefix) - if source.is_tarball(): # the tarball was filtered on unpack - repacked.unpacked = source.unpacked - else: # otherwise unpack the generated tarball get a filtered tree - repacked.unpack(unpack_dir) - return repacked - - def prepare_pristine_tar(source, pkg_name, pkg_version, pristine_commit_name, filters=None, prefix=None, tmpdir=None): """ |