Re: clamav rebuilding for FC1

Dag Wieers <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Organization 3TI Web Hosting Services
Message-ID <[email protected]>
On Wed, 22 Feb 2006, Seweryn Walentynowicz wrote:

>   I need to rebuild myself package clamav-0.88-1.1.fc1.rf.i386.rpm. 
> My system is Fedora Core 1 linux, with some libraries updated for my own 
> application, like libcurl.so.3. Origginaly binary package from
> repository for FC1 is linked with libcurl.so.2, so I download source
> package clamav-0.88-1.rf.src.rpm, and build for my own system.
>  All goes fine, but package which I get was named
> clamav-0.88-1.rf.i386.rpm. When I install it, my daily "yum
> check-update" reports, that in repository is "newest" version
> clamav-0.88-1.1.fc1.rf.i386.rpm. 
>  So, I try to look, like Dag builds these packages in repository. In his
> log, build command was called with '--define "distflag 1.fc1"' option.
> So do I. No effect. In specfile, distflag macro is ignored at all.
> In fact I must edited specfile. 
>  My question is: How one of you build package which is put to
> repositories ? Is this builded from other specs, than in src.rpm ?

Clamav 0.88-1.1.fc1.rf is considered to be newer than 0.88-1.rf. Just use 
--oldpackage as an option to RPM or increase the Release.

You could also first remove the RPM and install it afterwards.

Kind regards,
--   dag wieers,  [email protected],  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.