Bug 1101069

Summary: [PATCH] fix jar installation for Java packaging guidelines
Product: [Fedora] Fedora Reporter: Yaakov Selkowitz <yselkowi>
Component: java-gnomeAssignee: Alexander Boström <abo>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: abo, cagney, mizdebsk, yselkowi
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: java-gnome-4.1.3-5.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-31 20:30:25 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 Flags
Patch for rawhide
none
Rebased patch none

Description Yaakov Selkowitz 2014-05-26 04:17:08 UTC
Created attachment 899155 [details]
Patch for rawhide

Current Java packaging guidelines require JNI jars to be installed in %_jnidir; right now, jpackage-utils will not find gtk.jar.

The attached patch (for rawhide, but also needed for and easily backported to f20) fixes this for java-gnome, along with working around a bug this move exposes in brp-java-repack-jars skipping dot-files.

Comment 1 Mikolaj Izdebski 2014-06-30 10:04:10 UTC
There are several problems with this patch:

1. I don't see whi java-gnome-4.1.3-libdir.patch would be needed. Either explain this or don't apply it.

2. %dir %{_jnidir} - this dir is already owned by another package.

3. make V=1 - not needed

Please limit your changes to fixing bugs only and then I can apply it.

Comment 2 Yaakov Selkowitz 2014-06-30 16:53:57 UTC
Created attachment 913485 [details]
Rebased patch