[libvirt] [jenkins-ci PATCH] guests: Make mappings more future proof

Andrea Bolognani abologna at redhat.com
Wed Jun 13 13:01:48 UTC 2018


We can reasonably expect the next major release of CentOS
to be somewhat close to current Fedora releases in terms of
packaging, and to ditch the soon-to-be-unsupported Python 2
in favor of Python 3.

Rewrite some of the mappings based on these expectations.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/vars/mappings.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 92822cb..454afe5 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -651,12 +651,12 @@ mappings:
 
   python3:
     default: python3
-    CentOS:
+    CentOS7:
 
   python3-dbus:
     default: python3-dbus
     FreeBSD: py36-dbus
-    CentOS:
+    CentOS7:
 
   python3-devel:
     deb: python3-dev
@@ -667,34 +667,34 @@ mappings:
     deb: python3-gi
     pkg: py36-gobject3
     rpm: python3-gobject
-    CentOS:
+    CentOS7:
 
   python3-libxml2:
     default: python3-libxml2
     FreeBSD: py36-libxml2
-    CentOS:
+    CentOS7:
     Debian8:
     Ubuntu16:
 
   python3-lxml:
     default: python3-lxml
     FreeBSD: py36-lxml
-    CentOS:
+    CentOS7:
 
   python3-nose:
     default: python3-nose
     FreeBSD: py36-nose
-    CentOS:
+    CentOS7:
 
   python3-pytest:
     default: python3-pytest
     FreeBSD: py36-pytest
-    CentOS:
+    CentOS7:
 
   python3-requests:
     default: python3-requests
     FreeBSD: py36-requests
-    CentOS:
+    CentOS7:
 
   qemu-img:
     default: qemu-utils
@@ -711,7 +711,7 @@ mappings:
   rpcgen:
     deb: libc-dev-bin
     rpm: rpcgen
-    CentOS: glibc-common
+    CentOS7: glibc-common
     Fedora26: glibc-common
     Fedora27: glibc-common
     FreeBSD:
-- 
2.17.1




More information about the libvir-list mailing list