diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-09-06 16:07:08 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:47:19 +0200 |
commit | f1eea0348ef1c05785e7367488fb354760398f42 (patch) | |
tree | c61248f0bae7a5a9bd3ed2de0d767ef071d6c691 /gbp | |
parent | fee13bd79856b3d3cb03d752ede2ff9f19beb060 (diff) | |
download | git-buildpackage-f1eea0348ef1c05785e7367488fb354760398f42.tar.gz git-buildpackage-f1eea0348ef1c05785e7367488fb354760398f42.tar.bz2 git-buildpackage-f1eea0348ef1c05785e7367488fb354760398f42.zip |
rpm: support guessing spec file from git treeish
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp')
-rwxr-xr-x | gbp/scripts/import_orig_rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_orig_rpm.py b/gbp/scripts/import_orig_rpm.py index b208ad12..8eacfb2b 100755 --- a/gbp/scripts/import_orig_rpm.py +++ b/gbp/scripts/import_orig_rpm.py @@ -58,7 +58,7 @@ def detect_name_and_version(repo, source, options): # we're not on the packaging-branch (but upstream, for # example). spec = guess_spec_repo(repo, options.packaging_branch, - options.packaging_dir) + options.packaging_dir, True, preferred_fn) sourcepackage = spec.name except NoSpecError: if options.interactive: |