revert last commit without any further comment ...
authorAdrian Schröter <adrian@suse.de>
Thu, 5 Mar 2009 08:36:02 +0000 (08:36 +0000)
committerAdrian Schröter <adrian@suse.de>
Thu, 5 Mar 2009 08:36:02 +0000 (08:36 +0000)
Build/Kiwi.pm

index a5d0250..7c5dba1 100644 (file)
@@ -111,12 +111,6 @@ sub kiwiparse {
   if ($preferences->{'version'}) {
     $ret->{'version'} = $preferences->{'version'}->[0]->{'_content'};
   }
-  # override with product version, if existing
-  my $productoptions = (($kiwi->{'productoptions'} || [])->[0]) || {};
-  for my $po (@{$productoptions->{'productvar'} || []}) {
-    next unless @{$po->{'name'}} == "VERSION";
-    $ret->{'version'} = $po->{'_content'};
-  }
   for my $type (@{$preferences->{'type'} || []}) {
     next unless @{$preferences->{'type'}} == 1 || !$type->{'optional'};
     push @types, $type->{'_content'};