Thanks I should have thought of that but...it still does not work or at least I am not putting the link in the correct spot. The script, rpm-tmp.xxxxx, contains the line "rm -rf clamav-0.93" which removes the link if I put it in BUILD where it extracts the tarball. I have not built any other rpms so could it be a problem with my installation? i.e. Do I need to setup the system to build rpms?
I think if you've got this far and you've got the rpmbuild binary, you should be ok. going by what giorgio said, I've attached an updated spec file. try this one and see how it goes.
-- Spiro Harvey Knossos Networks Ltd 021-295-1923 www.knossos.net.nz
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml