Description of problem: I am building jffi package, which contains native extension. Surprisingly, xmnv installs this jar into %{_javadir} instead of %{_jnidir} Version-Release number of selected component (if applicable): $ rpm -q xmvn xmvn-1.2.0-1.fc21.noarch
Please provide a reproducer. It works for me as expected and upstream has test cases for native artifact installation.
FYI, what I tried: I've built jffi current master (001d35aa5) in mock. $ rpm -qp jffi-1.2.6-3.fc21.x86_64.rpm -l /usr/lib/java/jffi.jar /usr/share/doc/jffi /usr/share/doc/jffi/COPYING.GPL /usr/share/doc/jffi/COPYING.LESSER /usr/share/doc/jffi/LICENSE /usr/share/maven-fragments/jffi /usr/share/maven-poms/JPP-jffi.pom jffi.jar is in /usr/lib/java/ (aka %{_jnidir}) as expected. $ rpm -q xmvn xmvn-1.2.0-1.fc21.noarch
Created attachment 814698 [details] jffi 1.2.7 spec file This is my current .spec file. Try to remove the line 74 and bellow to test the issue.
Ok, I was able to reproduce it.
Actually this was a problem in XMvn configuration (part of javapackages-tools).
Fixed in javapackages-tools-3.4.0-3
I believe that this bug is fixed in javapackages-tools-3.4.0-3, which is available in Fedora Rawhide, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=472848
It works it seems. Thanks.
The fix was not entirely correct. Reopening.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
It's fixed in latest XMvn in F21+ $ rpm -qp /var/lib/xmock/maven/result/jffi-1.2.7-0.fc22.x86_64.rpm -l /usr/lib/java/jffi /usr/lib/java/jffi/jffi-native.jar /usr/lib/java/jffi/jffi.jar /usr/share/doc/jffi /usr/share/doc/jffi/COPYING.GPL /usr/share/doc/jffi/COPYING.LESSER /usr/share/doc/jffi/LICENSE /usr/share/maven-metadata/jffi.xml /usr/share/maven-poms/jffi/jffi.pom
I believe that this bug is fixed in xmvn-2.0.1-1, which is available in Fedora 21, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=521513