Mailinglist Archive: opensuse-factory (507 mails)

< Previous Next >
Re: [opensuse-factory] status distribution
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Fri, 17 Jul 2009 10:18:28 +0200
  • Message-id: <4A604FF40200002900025A00@xxxxxxxxxxxxxxxxxxx>
On 7/17/2009 at 10:03, Dave Plater <dave.plater@xxxxxxxxxxx> 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



--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups