Changes

From SME Server
Jump to navigationJump to search
2 bytes removed ,  10:04, 20 December 2013
Line 152: Line 152:  
  # clean out the build root, to make sure nothing old is hanging around
 
  # clean out the build root, to make sure nothing old is hanging around
 
  # in there
 
  # in there
rm -rf $RPM_BUILD_ROOT
  −
   
  # now we generate a file list so we know what's in the RPM; see the
 
  # now we generate a file list so we know what's in the RPM; see the
 
  # %files section below for how it's actually used
 
  # %files section below for how it's actually used
 +
 +
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
 
  /bin/rm -f %{name}-%{version}-filelist
 
  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
 
  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist

Navigation menu