RPM build

Shahzad Chohan shahzad.chohan at gmail.com
Wed May 4 16:07:11 UTC 2005


Hi

Thanks for the reply.

Nope the the patch file isn't rejected. The rpm builds fine without
any complaints. So I'm not sure whats  happening.

Thanks
Shahzad

On 5/4/05, Alexander Dalloz <ad+lists at uni-x.org> wrote:
> Am Mi, den 04.05.2005 schrieb Shahzad Chohan um 17:36:
> 
> > I'm trying to ammend a config file for samhain. Here's my patch file
> > which I generated by untarring two samhain packages then altering the
> > samhainrc.linux config file in one then ran  diff -uNr samahain
> > samhain-mine > samhain.patch
> >
> > I then put these lines in the samhain rpm spec file:
> >
> > Patch0: samhain-2.0.5b.patch
> > and ...:
> > %prep
> > %setup -q -n samhain-%{version}
> > %patch -p1
> >
> > My patch file looks like this:
> >
> > diff -uNr samhain-2.0.5b/samhainrc.linux samhain-2.0.5b-my/samhainrc.linux
> > --- samhain-2.0.5b/samhainrc.linux      2004-10-11 08:14:30.000000000 +0100
> > +++ samhain-2.0.5b-my/samhainrc.linux   2005-05-04 13:03:55.000000000 +0100
> > @@ -1,669 +1,104 @@
> > -#####################################################################
> > -#
> > -# Configuration file template for samhain.
> > -#
> > -#####################################################################
> > -#
> > -# -- empty lines and lines starting with '#', ';' or '//' are ignored
> >
> > etc......
> 
> > Shahzad
> 
> And what happens when running rpmbuild? The patch is rejected I guess.
> You will have to be specific and show us the part of the rpmbuild log
> where the error occurs. Too have a look at the .rej file created when
> the patch fails. Or does patching fail because the file to be patched
> can not be found?
> 
> Alexander
> 
> --
> Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
> legal statement: http://www.uni-x.org/legal.html
> Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp
> Serendipity 17:59:52 up 2 days, 2:05, load average: 0.11, 0.14, 0.10
> 
> 
>




More information about the fedora-list mailing list