I am trying to emulate an enviroment that has centos5 and tomcat6 (for some reason), which is a problem because there are no RPMs for tomcat6 which are compatible with centos5 available to me. I do have the source for tomcat6 and I can build it from source.
However, I have a number of RPMs which I would like to use that are dependent on tomcat6. I know they will run on centos5 and should work if installed. However, they won't install because even if I did install tomcat6 the RPMs would think it was not installed due to tomcat6 RPM not being installed, only the code.
Is there a way to express to RPM/yum that I have built the program as source and it should move on and do the install anyways? I know I can just force the install, but is there a more elegant approach?