Changes

From SME Server
Jump to navigationJump to search
153 bytes added ,  22:28, 1 October 2014
Line 144: Line 144:     
==== %build ====
 
==== %build ====
 +
=====%{__mkdir_p} root/var/lib/packageName/tmp=====
 +
# A cool way to create a directory called '''tmp''' even if it doesn't exist
 +
# in the upstream rpm.
 
===== 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