Changes

From SME Server
Jump to navigationJump to search
684 bytes added ,  10:00, 18 May 2014
Line 160: Line 160:  
  rm -rf $RPM_BUILD_ROOT
 
  rm -rf $RPM_BUILD_ROOT
 
  (cd root  ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
 
  (cd root  ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
/bin/rm -f %{name}-%{version}-filelist
+
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
+
    --dir /var/service/tinydns 'attr(0755,root,root)' \
 
+
    --dir /var/service/tinydns/log 'attr(0755,root,root)' \
 +
    --file /var/service/tinydns/run 'attr(0750,root,root)' \
 +
    --file /var/service/tinydns/tinydns-log.pl 'attr(0750,root,root)' \
 +
    --file /var/service/tinydns/tinydns-readstats 'attr(0750,root,root)' \
 +
    --file /var/service/tinydns/control/1 'attr(0750,root,root)' \
 +
    --file /var/service/tinydns/control/2 'attr(0750,root,root)' \
 +
    --file /var/service/tinydns/log/run 'attr(0750,root,root)' \
 +
    --dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \
 +
    --file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \
 +
    --file /var/service/dhcp-dns/run 'attr(0750,root,root)' \
 +
    > %{name}-%{version}-%{release}-filelist
 
  # This section will help clear out the build root before
 
  # This section will help clear out the build root before
 
  # building the RPM
 
  # building the RPM

Navigation menu