On Thu, 2006-04-13 at 20:20 +0200, Henrik Nordstrom wrote: > tor 2006-04-13 klockan 21:23 +0530 skrev Ramprasad: > > > I tried using the patch in a spec file. The rpmbuild halts asking for > > the file to patch ? Anyway I will try to build that tommorrow. > > Then you most likely gave the wrong -pN level. Should be -p0 for this > patch.. Oops I have got stuck at the rpmbuild. The patch I have generated fails patching cf.data.pre because cf.data.pre is also being patched by other patches before my patch The output I am getting <SNIP> rpmbuild -bb /usr/src/redhat/SPECS/squid.spec ........ ........ Patch #801 (squid-2.5.STABLE6-ignore_nocache.patch): + patch -p0 -s 1 out of 2 hunks FAILED -- saving rejects to file src/cf.data.pre.rej error: Bad exit status from /var/tmp/rpm-tmp.60195 (%prep) <SNIP> I will have to regenrate the patch after applying all the current patches specfied in the spec file. How do I apply so many patches by hand ? Thanks Ram ( I know my question is OT here. :-) )