Description of problem: Tomcat spec correcly uses add_to_maven_depmap macros, but generated fragments (%{depmapfragdir}/%{name}) are all included in main package. Fragments should be placed in a subpackage that contains given jar/pom file. I.e. tomcat-libs should contain fragments for all jars placed into tomcat-libs subpackage. With new style macro you can do it like this: add_maven_depmap XXX.pom XXX.jar -f "fragment-suffix" This will put generated fragment into %{depmapfragdir}/%{name}-fragment-suffix so it can be included in appropriate subpackage. Without this change package that would normally only require tomcat-libs (or other subpackage) have to require whole tomcat package. If more information is needed, feel free to ask.
Same thing for the pom files. Basically pom, jar and fragments must always be in the same (sub)package or at least require package that pulls in the others, otherwise the whole thing doesn't work
tomcat-7.0.25-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/tomcat-7.0.25-2.fc16
Package tomcat-7.0.25-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tomcat-7.0.25-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0805/tomcat-7.0.25-2.fc16 then log in and leave karma (feedback).
tomcat-7.0.25-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.