Changes

From SME Server
Jump to navigationJump to search
Line 110: Line 110:  
  make prep
 
  make prep
    +
=====Make a patch=====
 
Then switch to the tree and make modification.
 
Then switch to the tree and make modification.
   Line 124: Line 125:  
(man gendiff.  That is what the makefile uses to generate the diff file.)
 
(man gendiff.  That is what the makefile uses to generate the diff file.)
   −
Edit the spec
+
=====Apply a patch=====
 +
Or just apply a patch prepared elsewhere, if you don't 'make patch' you need to 'cvs add'
 +
 
 +
cp into the contribs7 dir
 +
cvs add smeserver-foo-locale-2008-xx-xx.patch
 +
 
 +
=====Edit the spec=====
 
  nano -w smeserver-foo.spec
 
  nano -w smeserver-foo.spec
   Line 140: Line 147:  
  %patch2 -p1
 
  %patch2 -p1
    +
=====Commit=====
 
Build the rpm locally to test, (note, this deletes the working tree!)
 
Build the rpm locally to test, (note, this deletes the working tree!)
 
  make local       
 
  make local       

Navigation menu