Jake Vickers wrote:
> Eric Shubert wrote:
>> Jake Vickers wrote:
>>   
>>> Richard Baxant wrote:
>>>     
>>>> Can you clarify on the patching part? I found this patch file in
>>>> sources but not sure what changes I need to make on it?
>>>>
>>>> clamav-0.9x.patch.bz2
>>>>
>>>> cd /usr/src/redhat/SOURCES
>>>> tar xjvf clamav-0.93.3.tar.bz2
>>>> cd clamav-0.93.3
>>>> patch < clamav-0.9x.patch.bz2
>>>>
>>>> then rpmbuild process...
>>>>   
>>>>       
>>> I don't think you can patch using a .bz2 file; you'd need to unbzip2 it
>>> then apply the patch.
>>>     
>>
>> I hate to correct Jake (doesn't happen often), but rpmbuild is smart enough
>> to handle .bz2 patch files.
>>
>>   
> 
> He's not in the rpmbuild process when he's trying to patch, according to
> what he's posted above, he's manually trying to apply a bzip patch. I'm
> still not sure if 'patch' will handle this, so if anyone has tried it
> let me know!
> 

Oh, I missed that detail. :( I was thinking of just editing the spec file
and letting rpmbuild handle the patching (which I think would be easier).

>From the looks of the patch man page, it does not appear to handle
compressed files. I can't imagine why it would. Seems simpler to just pipe
the output of a decompress into the patch program.

-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to