瀏覽代碼

I cannot see why the dhcpd.leases file should be installed with empty contents. dhcpd creates such a files AFAIK itself and by not having it packaged we can avoid that the file occurs under -V option every time

Ralf S. Engelschall 21 年之前
父節點
當前提交
8114eaa587
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      dhcpd/dhcpd.spec

+ 1 - 3
dhcpd/dhcpd.spec

@@ -34,7 +34,7 @@ Class:        BASE
 Group:        DNS
 License:      ISC/BSD
 Version:      3.0.2rc3
-Release:      20041207
+Release:      20041230
 
 #   package options
 %option       with_fsl  yes
@@ -135,8 +135,6 @@ AutoReqProv:  no
     rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/dhclient-script
     rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man8/dhclient-script.8
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true
-    %{l_shtool} install -c -m 644 /dev/null \
-        $RPM_BUILD_ROOT%{l_prefix}/var/dhcpd/dhcpd.leases
 
     #   install run-command script
     %{l_shtool} mkdir -f -p -m 755 \