From ebc44b8ddb172d559f46ff01bb6b1a7dd035b0fe95a00e9831e1904ded847a1b Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Fri, 24 Jan 2020 19:43:39 +0000 Subject: [PATCH] Accepting request 766922 from home:dimstar:Factory - BuildRequire pkconfig(systemd) instead of systemd: allow OBS to shortcut through the -mini flavors. - Use systemd_ordering in place of systemd_requires: systemd is never a strict requirement for qemu; but when installing qemu on a systemd-managed system, we want system to be present first. OBS-URL: https://build.opensuse.org/request/show/766922 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=527 --- qemu.changes | 9 +++++++++ qemu.spec | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/qemu.changes b/qemu.changes index 9002212..11718a1 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jan 24 14:59:33 UTC 2020 - Dominique Leuenberger + +- BuildRequire pkconfig(systemd) instead of systemd: allow OBS to + shortcut through the -mini flavors. +- Use systemd_ordering in place of systemd_requires: systemd is + never a strict requirement for qemu; but when installing qemu on + a systemd-managed system, we want system to be present first. + ------------------------------------------------------------------- Tue Jan 14 18:10:53 UTC 2020 - Bruce Rogers diff --git a/qemu.spec b/qemu.spec index 60244de..209c622 100644 --- a/qemu.spec +++ b/qemu.spec @@ -360,8 +360,8 @@ BuildRequires: python3-base BuildRequires: rdma-core-devel BuildRequires: snappy-devel BuildRequires: spice-protocol-devel >= 0.12.3 -BuildRequires: systemd -%{?systemd_requires} +BuildRequires: pkgconfig(systemd) +%{?systemd_ordering} %if %{kvm_available} BuildRequires: pkgconfig(udev) %endif @@ -810,7 +810,7 @@ Requires(post): udev Supplements: modalias(acpi*:QEMU0002%3A*) Supplements: modalias(pci:v0000FFFDd00000101sv*sd*bc*sc*i*) Supplements: modalias(pci:v00005853d00000001sv*sd*bc*sc*i*) -%{?systemd_requires} +%{?systemd_ordering} %description guest-agent This package contains the QEMU guest agent. It is installed in the linux guest