diff --git a/qemu.changes b/qemu.changes index 9e1585ca..15654f18 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 24 17:17:47 UTC 2020 - Bruce Rogers + +- Fix some spec file 'Requires' statements to be accurate to the + new model of relying on system-user-qemu and system-group-kvm to + provide the needed users and groups + ------------------------------------------------------------------- Thu Nov 19 18:43:48 UTC 2020 - Milan Savić diff --git a/qemu.spec b/qemu.spec index 167b03c6..493e6ac8 100644 --- a/qemu.spec +++ b/qemu.spec @@ -388,10 +388,9 @@ BuildRequires: qemu-ui-spice-app = %{qemuver} BuildRequires: qemu-vgabios = %{sbver} BuildRequires: qemu-x86 = %{qemuver} %endif -Requires(pre): group(kvm) -Requires(pre): group(qemu) -Requires(pre): shadow -Requires(pre): user(qemu) +Requires: group(kvm) +Requires: group(qemu) +Requires: user(qemu) Requires(post): coreutils %if %{kvm_available} Requires(post): acl @@ -774,9 +773,8 @@ Group: System/Emulators/PC Version: %{qemuver} Release: 0 Provides: %name:%_libexecdir/qemu-bridge-helper -Requires(pre): group(kvm) Requires(pre): permissions -Requires(pre): shadow +Requires: group(kvm) Recommends: multipath-tools Recommends: qemu-block-curl %if 0%{?with_rbd} @@ -793,8 +791,7 @@ Group: System/Emulators/PC Version: %{qemuver} Release: 0 Provides: %name:%_bindir/qemu-ga -Requires(pre): group(kvm) -Requires(pre): shadow +Requires: group(kvm) Requires(post): udev Supplements: modalias(acpi*:QEMU0002%3A*) Supplements: modalias(pci:v0000FFFDd00000101sv*sd*bc*sc*i*) diff --git a/qemu.spec.in b/qemu.spec.in index 9aa7d584..70c7ebf7 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -314,10 +314,9 @@ BuildRequires: qemu-ui-spice-app = %{qemuver} BuildRequires: qemu-vgabios = %{sbver} BuildRequires: qemu-x86 = %{qemuver} %endif -Requires(pre): group(kvm) -Requires(pre): group(qemu) -Requires(pre): shadow -Requires(pre): user(qemu) +Requires: group(kvm) +Requires: group(qemu) +Requires: user(qemu) Requires(post): coreutils %if %{kvm_available} Requires(post): acl @@ -700,9 +699,8 @@ Group: System/Emulators/PC Version: %{qemuver} Release: 0 Provides: %name:%_libexecdir/qemu-bridge-helper -Requires(pre): group(kvm) Requires(pre): permissions -Requires(pre): shadow +Requires: group(kvm) Recommends: multipath-tools Recommends: qemu-block-curl %if 0%{?with_rbd} @@ -719,8 +717,7 @@ Group: System/Emulators/PC Version: %{qemuver} Release: 0 Provides: %name:%_bindir/qemu-ga -Requires(pre): group(kvm) -Requires(pre): shadow +Requires: group(kvm) Requires(post): udev Supplements: modalias(acpi*:QEMU0002%3A*) Supplements: modalias(pci:v0000FFFDd00000101sv*sd*bc*sc*i*)