Re: Adding patches in a SPEC

2010-11-17 Thread Martin Sourada
On Wed, 2010-11-17 at 07:39 -0500, Eric "Sparks" Christensen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/17/2010 03:57 AM, Martin Sourada wrote: > > On Tue, 2010-11-16 at 17:17 -0500, Eric "Sparks" Christensen wrote: > >> -BEGIN PGP SIGNED MESSAGE- > >> Hash: SHA1 >

Re: Adding patches in a SPEC

2010-11-17 Thread Eric "Sparks" Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2010 03:57 AM, Martin Sourada wrote: > On Tue, 2010-11-16 at 17:17 -0500, Eric "Sparks" Christensen wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 11/16/2010 04:28 PM, Martin Sourada wrote: >>> On Tue, 2010-11-16 at 11:18

Re: Adding patches in a SPEC

2010-11-17 Thread Martin Sourada
On Tue, 2010-11-16 at 17:17 -0500, Eric "Sparks" Christensen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/16/2010 04:28 PM, Martin Sourada wrote: > > On Tue, 2010-11-16 at 11:18 -0500, Eric "Sparks" Christensen wrote: > >> On Tue, Nov 16, 2010 at 11:04, Patrick MONNERAT wrot

Re: Adding patches in a SPEC

2010-11-16 Thread Eric "Sparks" Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/16/2010 04:28 PM, Martin Sourada wrote: > On Tue, 2010-11-16 at 11:18 -0500, Eric "Sparks" Christensen wrote: >> On Tue, Nov 16, 2010 at 11:04, Patrick MONNERAT wrote: >>> On Tue, 2010-11-16 at 17:48 +0200, Andy Shevchenko wrote: You need t

Re: Adding patches in a SPEC

2010-11-16 Thread Martin Sourada
On Tue, 2010-11-16 at 11:18 -0500, Eric "Sparks" Christensen wrote: > On Tue, Nov 16, 2010 at 11:04, Patrick MONNERAT wrote: > > On Tue, 2010-11-16 at 17:48 +0200, Andy Shevchenko wrote: > >> You need to do patch on top of source tree container > >> > >> mycoolpkg-5.3/ > >> /Makefile > >>

Re: Adding patches in a SPEC

2010-11-16 Thread Eric "Sparks" Christensen
On Tue, Nov 16, 2010 at 11:04, Patrick MONNERAT wrote: > On Tue, 2010-11-16 at 17:48 +0200, Andy Shevchenko wrote: >> You need to do patch on top of source tree container >> >> mycoolpkg-5.3/ >>     /Makefile >>     /source.c >> ... >> mycoolpkg-5.3.new/ >>    /Makefile >>    /source.c >> ... >> >

Re: Adding patches in a SPEC

2010-11-16 Thread Itamar Reis Peixoto
On Tue, Nov 16, 2010 at 1:43 PM, Eric "Sparks" Christensen wrote: > I've never had to add a patch to a SPEC file before and I can't seem > to make it work. > > The patch is to make a modification to the Makefile.  I created the > patch (diff -u) and put that in my SOURCES directory.  I included th

Re: Adding patches in a SPEC

2010-11-16 Thread Patrick MONNERAT
On Tue, 2010-11-16 at 17:48 +0200, Andy Shevchenko wrote: > You need to do patch on top of source tree container > > mycoolpkg-5.3/ > /Makefile > /source.c > ... > mycoolpkg-5.3.new/ >/Makefile >/source.c > ... > > run diff -ruN -p mycoolpkg-5.3 mycoolpkg-5.3.new > ... and use

Re: Adding patches in a SPEC

2010-11-16 Thread Andy Shevchenko
You need to do patch on top of source tree container mycoolpkg-5.3/ /Makefile /source.c ... mycoolpkg-5.3.new/ /Makefile /source.c ... run diff -ruN -p mycoolpkg-5.3 mycoolpkg-5.3.new Another way: mycoolpkg-5.3/ /Makefile /Makefile.orig ... gendiff mycoolpkg-5.3 .orig > myc