From 036af856a7be990b25b169e15af88102db08265f8b78f26828d9c2bbbffbc37d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 13 Dec 2023 15:07:10 +0000 Subject: [PATCH] Accepting request 1132533 from home:dfaggioli:devel:patterns - kvm_server pattern: - require the basic libvirt modules and packages for a minimal (but properly working) KVM host - remove the direct dependency for qemu, as that now comes from libvirt-daemon-driver-qemu This makes the kvm_server pattern a lot more useful, in contexts where recommended packages are not installed by default. On the other hand, everyone using it with recommended packages installation enabled, will see no difference at all. OBS-URL: https://build.opensuse.org/request/show/1132533 OBS-URL: https://build.opensuse.org/package/show/system:install:head/patterns-server?expand=0&rev=32 --- patterns-server.changes | 14 ++++++++++++++ patterns-server.spec | 22 +++++----------------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/patterns-server.changes b/patterns-server.changes index 59751e0..7d782f5 100644 --- a/patterns-server.changes +++ b/patterns-server.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Nov 29 15:28:43 UTC 2023 - Dario Faggioli + +- kvm_server pattern: + - require the basic libvirt modules and packages for a minimal + (but properly working) KVM host + - remove the direct dependency for qemu, as that now comes from + libvirt-daemon-driver-qemu + +This makes the kvm_server pattern a lot more useful, in contexts +where recommended packages are not installed by default. On the +other hand, everyone using it with recommended packages installation +enabled, will see no difference at all. + ------------------------------------------------------------------- Thu May 4 20:57:18 UTC 2023 - James Fehlig diff --git a/patterns-server.spec b/patterns-server.spec index 92f5f56..0b5976d 100644 --- a/patterns-server.spec +++ b/patterns-server.spec @@ -37,8 +37,8 @@ not make sense. This particular package contains all the server related patterns -################################################################################ +################################################################################ %package dhcp_dns_server %pattern_serverfunctions Summary: DHCP and DNS Server @@ -189,6 +189,10 @@ Provides: pattern() = kvm_server Provides: pattern-icon() = pattern-server Provides: pattern-order() = 3099 Provides: pattern-visible() +Requires: libvirt-daemon-config-network +Requires: libvirt-daemon-driver-network +Requires: libvirt-daemon-driver-qemu +Requires: libvirt-daemon-driver-storage-core Requires: tftp Requires: pattern() = basesystem Recommends: libvirt-daemon-qemu @@ -201,22 +205,6 @@ Obsoletes: patterns-openSUSE-kvm_server < %{version} Provides: patterns-sles-kvm_server = %{version} Obsoletes: patterns-sles-kvm_server < %{version} %endif -# fix issue because qemu-kvm is not present on all arch and -# we would like to deprecate it for the futur (will be only -# updated if already installed on the system) -%ifarch %ix86 x86_64 -Requires: qemu-x86 -%endif -%ifarch ppc ppc64 ppc64le -Requires: qemu-ppc -%endif -%ifarch s390x -Requires: qemu-s390x -%endif -%ifarch %arm %arm64 -Requires: qemu-arm -Requires: qemu-ipxe -%endif %description kvm_server Software to set up a server for configuring, managing, and monitoring virtual machines on a single physical machine.