cmd_export: Used absolute path to spec file to avoid wrong
authorEd Bartosh <eduard.bartosh@intel.com>
Thu, 26 Jul 2012 08:56:39 +0000 (11:56 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Fri, 27 Jul 2012 09:24:49 +0000 (12:24 +0300)
commit12c2233f4de1ac95ab3a35ae0004901f87000669
tree909092fcc4af7f24531f4322aa8a43520d5705f4
parent6fd6d52de76a45d6cf4203bd04385542f9754a41
cmd_export: Used absolute path to spec file to avoid wrong
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
gitbuildsys/cmd_export.py