Dominique Leuenberger wrote:
On 7/17/2009 at 10:03, Dave Plater
wrote: Hi, where can I find info on creating patch files for use with osc?
Dave,
It's the typical patch files created using diff and applied using patch. What I normally do:
tar xf foo-1.0.tar.bz2 (extracts in the folder foo-1.0) cp -r foo-1.0 foo-1.0.patched
change all the things needed for my patch in foo-1.0.patched
then diff -urN foo-1.0 foo-1.0.patched > foo-1.0.patch
The so created patch can be used in a spec file with %patch -p1
hope this helps you a bit. Dominique
Thanks Dominique, I had everything right except for the u and N in diff -urN, I will scour the man page for a better explanation of those options but the format matches other patch files now. Thanks Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org