Bug 1021608
Summary: | javapackages-tools: Attached native JARs are installed to %{_javadir} instead of %{_jnidir} | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||
Component: | xmvn | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 21 | CC: | java-sig-commits, mizdebsk, msimacek, msrb, sochotni, tradej, vondruch | ||||
Target Milestone: | --- | Keywords: | Triaged, Upstream | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.0.1-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-07-17 08:34:32 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Vít Ondruch
2013-10-21 15:46:09 UTC
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 |