Changes

From SME Server
Jump to navigationJump to search
137 bytes added ,  22:47, 1 October 2014
Line 144: Line 144:     
==== %build ====
 
==== %build ====
 +
# A cool way for creating a directory called '''tmp''' during the rpm installation
 +
=====%{__mkdir_p} root/var/lib/packageName/tmp=====
 +
 
===== perl createlinks =====
 
===== perl createlinks =====
   Line 153: Line 156:  
  # refer to the directory rpms/BUILD/yourappname/root (or whatever's set
 
  # refer to the directory rpms/BUILD/yourappname/root (or whatever's set
 
  # in the BuildRoot line near the top of this spec file.
 
  # in the BuildRoot line near the top of this spec file.
 +
 
==== %install ====
 
==== %install ====
 
  # 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

Navigation menu