diff --git a/dhcp.spec b/dhcp.spec index c2fd1c7..c5ff017 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -257,7 +257,8 @@ CFLAGS="%{optflags} -fPIC -D_GNU_SOURCE -DLDAP_CONFIGURATION -DUSE_SSL" \ %{__make} install DESTDIR=%{buildroot} # Remove files we don't want -%{__rm} %{buildroot}%{_sysconfdir}/dhcp/dhclient.conf +%{__rm} -f %{buildroot}%{_sysconfdir}/dhclient.conf +%{__rm} -f %{buildroot}%{_sysconfdir}/dhcp/dhclient.conf # Install correct dhclient-script %{__mkdir} -p %{buildroot}/sbin