tips about rpmbuild

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

the library file is

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


firstly meet the clamav then match;

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

more details on rpmbuild