Description of problem: The build-classpath script does not detect the jpcap library. It may not even detect JNI libraries in general... Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Use the $(build-classpath jpcap) macro in a spec file. Actual results: A blank classpath Expected results: A classpath with /usr/lib/jpcap/jpcap.jar in it Additional info:
build-classpath will not work in this case. This is expected behaviour actually. Per the guidelines[1]: "JAR files that require JNI shared objects ........ <snip> ......... If you are depending on a JNI-using JAR file, you'll need to add it manually -- build-classpath will not find it. " 1: http://fedoraproject.org/wiki/Packaging/Java#Packaging_JAR_files_that_use_JNI