]> git.proxmox.com Git - mirror_ovs.git/commitdiff
rpm: depend on /bin/sed instead of /usr/bin/sed for compatibility
authorIsaac Freeman <ifreeman@cree.com>
Mon, 16 Apr 2018 21:12:54 +0000 (17:12 -0400)
committerBen Pfaff <blp@ovn.org>
Thu, 19 Apr 2018 16:23:44 +0000 (09:23 -0700)
The sed package in RHEL/CentOS 7 only provides /bin/sed and not
/usr/bin/sed, but later versions (including Fedora) provide both.

Signed-off-by: Isaac Freeman <memotype@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
rhel/openvswitch-fedora.spec.in

index 658eb206cc78dd64a23a32979a841862f1d55eae..d9b9f5874f41d17448d804aa6fa07833d3ad1ef5 100644 (file)
@@ -94,7 +94,7 @@ Requires: openssl hostname iproute module-init-tools
 
 Requires(post): /usr/bin/getent
 Requires(post): /usr/sbin/useradd
-Requires(post): /usr/bin/sed
+Requires(post): /bin/sed
 %if %{with dpdk}
 Requires(post): /usr/sbin/usermod
 Requires(post): /usr/sbin/groupadd