Changes

From SME Server
Jump to navigationJump to search
92 bytes added ,  15:07, 11 October 2020
Line 167: Line 167:  
  # %files section below for how it's actually used
 
  # %files section below for how it's actually used
 
  # A you can see below we set permissions and ownership on files and directories
 
  # A you can see below we set permissions and ownership on files and directories
 +
# You can also ignore adding a directory with --ignoredir
    
  rm -rf $RPM_BUILD_ROOT
 
  rm -rf $RPM_BUILD_ROOT
Line 184: Line 185:  
     --file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \
 
     --file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \
 
     --file /var/service/dhcp-dns/run 'attr(0750,root,root)' \
 
     --file /var/service/dhcp-dns/run 'attr(0750,root,root)' \
 +
    --ignoredir /etc/sudoers.d \
 
     $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
 
     $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
  

Navigation menu