tips about rpmbuild

we need clamav’s libraries for havp-0.90-1.x86_64.rpm

the library file is libclamav.so.6

and don’t want the update make havp crash ( havp is rpmbuild rebuilt from source)

so when I rebuild the rpm i use the following options(edit havp.spec):

Requires: clamav

Provides: libclamav.so.6

firstly meet the clamav then match libclamav.so.6;

so we won’t care the clamav version, just if it provides the libclamavi.so.6. we can use it.

more details on rpmbuild

http://www.rpm.org