summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-09-06 16:07:08 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-11-14 14:47:19 +0200
commitf1eea0348ef1c05785e7367488fb354760398f42 (patch)
treec61248f0bae7a5a9bd3ed2de0d767ef071d6c691 /gbp
parentfee13bd79856b3d3cb03d752ede2ff9f19beb060 (diff)
downloadgit-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-xgbp/scripts/import_orig_rpm.py2
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: