Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-04-27 16:09:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and      /work/SRC/openSUSE:Factory/.virt-manager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-manager"

Fri Apr 27 16:09:34 2018 rev:178 rq:601698 version:1.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes        
2018-04-05 15:34:40.385580504 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-04-27 16:09:37.953608092 +0200
@@ -1,0 +2,7 @@
+Thu Apr 26 15:00:36 MDT 2018 - carn...@suse.com
+
+- bsc#1091113 - virt-install errs with: No option 'version' in
+  section: 'general
+  virtinst-handle-tumbleweed-treeinfo-file.patch
+
+-------------------------------------------------------------------

New:
----
  virtinst-handle-tumbleweed-treeinfo-file.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virt-manager.spec ++++++
--- /var/tmp/diff_new_pack.xSUIvE/_old  2018-04-27 16:09:41.285485895 +0200
+++ /var/tmp/diff_new_pack.xSUIvE/_new  2018-04-27 16:09:41.289485748 +0200
@@ -87,6 +87,7 @@
 Patch170:       virtinst-osdict-get_supported.patch
 Patch171:       virtinst-dont-use-special-copy-cpu-features.patch
 Patch172:       virtinst-use-latest-opensuse-version-when-unknown-media.patch
+Patch173:       virtinst-handle-tumbleweed-treeinfo-file.patch
 # Python2 to Python3 patches
 Patch200:       virtmisc-python2-to-python3-conversion.patch
 Patch201:       virtcli-python2-to-python3-conversion.patch
@@ -231,6 +232,7 @@
 %patch170 -p1
 %patch171 -p1
 %patch172 -p1
+%patch173 -p1
 # Python2 to Python3 patches
 %patch200 -p1
 %patch201 -p1

++++++ virtinst-handle-tumbleweed-treeinfo-file.patch ++++++
References: bsc#1091113
In Tumbleweed the .treeinfo file has no version as it is mostly meaningless.

Index: virt-manager-1.5.0/virtinst/urlfetcher.py
===================================================================
--- virt-manager-1.5.0.orig/virtinst/urlfetcher.py
+++ virt-manager-1.5.0/virtinst/urlfetcher.py
@@ -1136,7 +1136,10 @@ class SuseDistro(Distro):
                    "Open Enterprise" in family and 'oes' in self.urldistro:
                     ret = True
             if ret:
-                version = self.treeinfo.get("general", "version")
+                if 'Tumbleweed' not in family:
+                    version = self.treeinfo.get("general", "version")
+                else:
+                    version = "tmblweed"
                 distro_version = ['VERSION', version]
                 self.version_from_content = distro_version
                 self._variantFromVersion()
++++++ virtinst-python2-to-python3-conversion.patch ++++++
--- /var/tmp/diff_new_pack.xSUIvE/_old  2018-04-27 16:09:41.513477533 +0200
+++ /var/tmp/diff_new_pack.xSUIvE/_new  2018-04-27 16:09:41.517477386 +0200
@@ -533,7 +533,7 @@
                      logging.debug(e)
  
          if self.type == "xen":
-@@ -1472,7 +1480,7 @@ class ALTLinuxDistro(Distro):
+@@ -1475,7 +1483,7 @@ class ALTLinuxDistro(Distro):
  # Build list of all *Distro classes
  def _build_distro_list():
      allstores = []


Reply via email to