move check specfile to guess_spec function
authorZhang Qiang <qiang.z.zhang@intel.com>
Mon, 30 Jul 2012 08:41:20 +0000 (16:41 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Tue, 31 Jul 2012 07:58:05 +0000 (15:58 +0800)
commit3bb29a02901dcd46815283e0eaa49727b797c8b9
treeeba0bb5e6c7148635aa71d184b0cf1a87d20b2fc
parent13e988e528e4a787566cd60c4ee412ade975f5bf
move check specfile to guess_spec function

guess_spec is used by build, remotebuild and export module, so it's
better to check that in guess_spec function.
gitbuildsys/cmd_export.py
gitbuildsys/utils.py