I use courier-imap on a Redhat 7.2 system and like to keep it up-to-date
using the RPM distribution.
I was using 1.5.3 but thought I'd try an upgrade to the new 1.6.0 release.
When I tried to build the rpm from the tarball I got the following error:
[robin@celery robin]$ rpmbuild -ta
error: Failed build dependencies:
fam-devel is needed by courier-imap-184.108.40.20621025-1.7.2
I don't have fam or fam-devel on my system and I would get into a whole
chain of dependencies if I tried to install it (using the official RedHat
I figured that as use of FAM seems to be optional (see imap/Changelog,
2002-09-28 for details) then I should be able to build courier-imap
I untarred the tarball, and edited courier-imap.spec and
courier-imap.spec.in, removing the reference to fam-devel in the
BuildPreReq line, then re-built the tarball.
With this minor change the rpm is built without errors using the same
command as above.
Hope this helps some others,
Robin Bowes | http://robinbowes.com