You will get errors if you just install it with rpm -i, you will need to do the following:
Backup init.d script:
cp /etc/init.d/clamd /tmp/
Stop Clamd:
/etc/init.d/clamd stop
Get the updated files, you can use WinSCP or scp to transfer the files:
ClamAV will give an error if you only clamav-0.91.2-0.endian5.i386.rpm it needs the clamav-db package:
rpm -i --replacefiles clamav-db-0.91.2-0.endian5.i386.rpm
The replace files option will extract the new files other wise you will get an error like this
rpm -i clamav-0.91.2-0.endian5.i386.rpm
file /etc/clamav/clamd.conf from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /etc/clamav/freshclam.conf from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /usr/bin/clamdscan from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /usr/bin/clamscan from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /usr/bin/freshclam from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /usr/lib/libclamav.so from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /usr/lib/libclamav.so.2 from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /usr/sbin/clamd from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
file /var/log/clamav/clamd.log from install of clamav-0.91.2-0.endian5 conflicts with file from package clamav-0.90.1-0.endian12
After this:
rpm -i --replacefiles clamav-0.91.2-0.endian5.i386.rpm
That should be it, now we copy the clamd script back to /etc/init.d/
cp /tmp/clamd /etc/init.d/clamd
Start ClamAV again:
/etc/init.d/clamd start
I just installed it and it worked.