Bug 1328577

Summary: Change requirement in p2.inf from com.kenai.jffi.native to com.github.jnr.jffi.native
Product: [Fedora] Fedora Reporter: Roland Grunberg <rgrunber>
Component: jffiAssignee: Mo Morsi <mmorsi>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: akurtako, mmorsi, msrb, rgrunber
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 06:19:43 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:
Attachments:
Description Flags
Patch none

Description Roland Grunberg 2016-04-19 18:07:33 UTC
Upstream now auto-generates OSGi metadata for jffi (https://github.com/jnr/jffi/commit/045993c5f741273a68256c0f710901d71c7aaf5e) and this has made its way into rawhide (http://koji.fedoraproject.org/koji/rpminfo?rpmID=7608550). One change in particular is that the Bundle-SymbolicName has changed from the one we assigned it (com.kenai.jffi.native), to com.github.jnr.jffi.native. Therefore, the requirement from the main jffi bundle (com.github.jnr.jffi) must reflect that.

Comment 1 Roland Grunberg 2016-04-19 18:10:07 UTC
Created attachment 1148709 [details]
Patch

I've tested this patch and it will resolve the issue.

For a little background, the p2.inf statement exists because the fragment host (jffi) cannot functinon without the fragment (jffi-native) so one most require the other. The p2.inf file allows us to define this requirement for this special case.

Comment 2 Alexander Kurtakov 2016-04-20 06:19:43 UTC
Thanks for the patch. Applied in master.