determination of spec path. Fixes #185
When spec file is passed as a parameter --spec and path is relative it
caused an error in path determination and gbs export was failing with
error: RPM error while parsing spec: can't parse specfile. This change
fixes the issue.
Change-Id: I1e388e88453423f6c529b0012d60d5251a64838c
# Only guess spec filename here, parse later when we have the correct
# spec file at hand
- specfile = utils.guess_spec(workdir, opts.spec)
+ specfile = utils.guess_spec(workdir, os.path.abspath(opts.spec))
tempd = utils.Temp(prefix='gbs_export_', dirn=outdir, directory=True)
export_dir = tempd.path
with utils.Workdir(workdir):