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
This commit is contained in:
Bruce Rogers 2020-01-24 19:43:39 +00:00 committed by Git OBS Bridge
parent c88c9a4dfa
commit ebc44b8ddb
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Jan 24 14:59:33 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <brogers@suse.com>

View File

@ -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