These dependencies have been moved from the %post to the %pre scriptlet
in f624bf23b62a ("rhel: user/group openvswitch does not exist") and are
already provided by the shadow-utils package so we can simply drop
them.

Cc: Alan Pevec <alan.pe...@redhat.com>
Cc: Aaron Conole <acon...@redhat.com>
Signed-off-by: Markos Chandras <mchand...@suse.de>
---
 rhel/openvswitch-fedora.spec.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 3e5cf21e0..6dbf20ce1 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -94,10 +94,6 @@ Requires: openssl hostname iproute module-init-tools
 
 Requires(pre): shadow-utils
 Requires(post): /bin/sed
-%if %{with dpdk}
-Requires(post): /usr/sbin/usermod
-Requires(post): /usr/sbin/groupadd
-%endif
 Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
-- 
2.16.3

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to