From 13a0b57486b70b4842bc19995abab186895460ac Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Sat, 10 Jan 2009 16:46:16 +0000 Subject: [PATCH] - Make sure all /etc/dhcp config files are marked in the manifest - Include new config file directies in the dhcp and dhclient packages - Do not overwrite new config files if they already exist --- dhcp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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