Changes

From SME Server
Jump to navigationJump to search
258 bytes removed ,  21:39, 1 October 2014
Line 187: Line 187:  
  echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist
 
  echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist
 
  # we can push file to a destination in order to use them after in a mysql.init script for example
 
  # we can push file to a destination in order to use them after in a mysql.init script for example
  −
==== %clean ====
  −
rm -rf $RPM_BUILD_ROOT
  −
  −
# Now we have to list all the files that are part of our installed RPM
  −
# The %files statement lets us refer to an external file list that we
  −
# just generated, which is easier than trying to list them all by hand
      
==== %files -f %{name}-%{version}-filelist ====
 
==== %files -f %{name}-%{version}-filelist ====

Navigation menu