After a little more fiddling in the spec file I think I've succeeded in building both the lib and devel lib rpms for libjpeg. What I think is that the later library didn't need so much extra work done by the spec file. If anyone is feeling brave enough to try them I can send a copy. Thanks, Peter