diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-06-06 15:12:54 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-06-06 15:12:54 +0300 |
commit | 783837de404c6472e4baaf9e32c50c8567f8fb2b (patch) | |
tree | 25a0dff4407c67c647d7c05dc8c640123b707508 | |
parent | eca17707a399e26a3fa30ec710c246a93d03e002 (diff) | |
download | git-buildpackage-783837de404c6472e4baaf9e32c50c8567f8fb2b.tar.gz git-buildpackage-783837de404c6472e4baaf9e32c50c8567f8fb2b.tar.bz2 git-buildpackage-783837de404c6472e4baaf9e32c50c8567f8fb2b.zip |
import-srpm: fix bug in importing unpacked sources
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | gbp/scripts/import_srpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py index 811f0348..49c1b12a 100755 --- a/gbp/scripts/import_srpm.py +++ b/gbp/scripts/import_srpm.py @@ -218,7 +218,7 @@ def main(argv): if options.unpacked: files = [os.path.basename(patch['filename']) for patch in spec.patches.itervalues()] for src in spec.sources.itervalues(): - if not spec.orig_file or src.filename != spec.orig_file: + if not spec.orig_file or src['filename'] != spec.orig_file: files.append(src['filename']) files.append(os.path.basename(pkg)) for fname in files: |