cmd_remotebuild: don't check version
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 10 Jul 2012 12:44:45 +0000 (15:44 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 10 Jul 2012 13:16:34 +0000 (16:16 +0300)
Don't check version from .spec as we don't use it (and it would be
wrong, anyway, if building other than local copy).

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gitbuildsys/cmd_remotebuild.py

index f0bb5052b8f69af60c95307815f9d5f59cea1d13..32379e256ebe4160268ec6bded4cb8a28452a150 100644 (file)
@@ -114,8 +114,8 @@ def do(opts, args):
     except GbpError, err:
         msger.error('%s' % err)
 
-    if not spec.name or not spec.version:
-        msger.error('can\'t get correct name or version from spec file.')
+    if not spec.name:
+        msger.error('can\'t get correct name.')
 
     if opts.base_obsprj is None:
         # TODO, get current branch of git to determine it