From 63a54d71835272653bc466e85bf447bc4b286456 Mon Sep 17 00:00:00 2001 From: virtbuilder_pel7ppc64bebuilder0 Date: Wed, 6 Jun 2018 10:57:21 +0200 Subject: [PATCH] virt-manager change dependency of python2 package names Signed-off-by: virtbuilder_pel7ppc64bebuilder0 --- SPECS/virt-manager.spec | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/SPECS/virt-manager.spec b/SPECS/virt-manager.spec index a1a5c29..45489dc 100644 --- a/SPECS/virt-manager.spec +++ b/SPECS/virt-manager.spec @@ -1,22 +1,12 @@ -# -*- rpm-spec -*- - - %global with_guestfs 0 %global stable_defaults 0 %global askpass_package "openssh-askpass" %global qemu_user "qemu" %global libvirt_packages "libvirt-daemon-kvm,libvirt-daemon-config-network" %global kvm_packages "" -%global preferred_distros "fedora,rhel" -%global default_hvs "qemu,xen,lxc" - -%if 0%{?rhel} %global preferred_distros "rhel,fedora" +%global default_hvs "qemu,xen,lxc" %global stable_defaults 1 -%endif - - -# End local config Name: virt-manager Version: 1.5.1 @@ -47,11 +37,7 @@ Requires: vte291 # For console widget Requires: gtk-vnc2 Requires: spice-gtk3 - -%if 0%{?rhel} == 7 Requires: gnome-icon-theme -%endif - BuildRequires: intltool BuildRequires: /usr/bin/pod2man @@ -73,10 +59,10 @@ Group: Applications/Emulators # This version not strictly required: virt-manager should work with older, # however varying amounts of functionality will not be enabled. -Requires: python2-libvirt >= 0.7.0 -Requires: python2-libxml2 -Requires: python2-requests -Requires: python2-ipaddr +Requires: python-libvirt >= 0.7.0 +Requires: python-libxml2 +Requires: python-requests +Requires: python-ipaddr Requires: libosinfo >= 0.2.10 # Required for gobject-introspection infrastructure Requires: python2-gobject-base