Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-manager for openSUSE:Factory checked in at 2021-04-23 17:49:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-manager (Old) and /work/SRC/openSUSE:Factory/.virt-manager.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-manager" Fri Apr 23 17:49:37 2021 rev:222 rq:886769 version:3.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes 2021-03-02 12:27:46.251441456 +0100 +++ /work/SRC/openSUSE:Factory/.virt-manager.new.12324/virt-manager.changes 2021-04-23 17:49:39.534694446 +0200 @@ -1,0 +2,7 @@ +Mon Apr 12 13:01:27 MDT 2021 - carn...@suse.com + +- Add support for detecting SUSE Linux Enterprise Micro. See also + the osinfo-db package for the SLEM OS description file. + virtinst-add-slem-detection-support.patch + +------------------------------------------------------------------- New: ---- virtinst-add-slem-detection-support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-manager.spec ++++++ --- /var/tmp/diff_new_pack.rZbZIm/_old 2021-04-23 17:49:40.438696001 +0200 +++ /var/tmp/diff_new_pack.rZbZIm/_new 2021-04-23 17:49:40.438696001 +0200 @@ -79,6 +79,7 @@ Patch178: virtinst-sap-detection.patch Patch179: virtinst-smbios-unsupported-for-xenpv.patch Patch180: virtinst-keep-iso-for-xenpv.patch +Patch181: virtinst-add-slem-detection-support.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -211,6 +212,7 @@ %patch178 -p1 %patch179 -p1 %patch180 -p1 +%patch181 -p1 %build %if %{default_hvs} ++++++ virtinst-add-slem-detection-support.patch ++++++ Add support for detecting SUSE Linux Enterprise Micro. See also the osinfo-db package for the description file. Index: virt-manager-3.2.0/virtinst/install/urldetect.py =================================================================== --- virt-manager-3.2.0.orig/virtinst/install/urldetect.py +++ virt-manager-3.2.0/virtinst/install/urldetect.py @@ -275,7 +275,7 @@ class _SUSEContent(object): sle_version = self.product_name.strip().rsplit(' ')[7] else: sle_version = self.product_name.strip().rsplit(' ')[4] - if len(self.product_name.strip().rsplit(' ')) > 5: + if len(self.product_name.strip().rsplit(' ')) > 5 and not " Micro " in self.product_name: if " SAP " in self.product_name: sle_version = (sle_version + '.' + self.product_name.strip().rsplit(' ')[8][2]) @@ -596,6 +596,9 @@ class _SuseDistro(_RHELDistro): version = distro_version.split('.', 1)[0].strip() + if self._variant_prefix.startswith(("slem")): + return self._variant_prefix + distro_version + if self._variant_prefix.startswith(("caasp")): return self._variant_prefix + distro_version @@ -683,6 +686,14 @@ class _OpensuseDistro(_SuseDistro): famregex = ".*openSUSE.*" +class _MICRODistro(_SuseDistro): + PRETTY_NAME = "SLES" + matching_distros = ["slem"] + _variant_prefix = "slem" + _suse_regex = [".*SUSE Linux Enterprise Micro*", ".*SUSE Micro*"] + famregex = ".*SUSE Linux Enterprise Micro.*" + + class _CAASPDistro(_SuseDistro): PRETTY_NAME = "SLES" matching_distros = ["caasp"] @@ -929,6 +940,7 @@ def _build_distro_list(osobj): _SLESDistro, _SLEDDistro, _OpensuseDistro, + _MICRODistro, _CAASPDistro, _OESDistro, _DebianDistro,