diff --git a/dhcp.spec b/dhcp.spec index b5aee72..1848907 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -167,8 +167,8 @@ pushd bind ; tar -xvf bind.tar.gz >/dev/null ; popd %patch18 -p1 -b .64-bit_lease_parse # change ipconfig to modern ip (from Arch) %patch19 -p1 -# change hardcoded path /sbin/dhclient-script to /usr/sbin/dhclient-script -sed -i 'includes/dhcpd.h' -e 's,/sbin/dhclient-script,/usr/sbin/dhclient-script,g' || true +# change hardcoded paths from /sbin/dhc* to /usr/sbin/dhc*, if there are any +sed -i 'includes/dhcpd.h' -e 's,\"/sbin/dhc,\"/usr/sbin/dhc,g' || true %build %serverbuild_hardened