[fedora-java] How to make a noarch java package depend on arch package?

Rich Megginson rmeggins at redhat.com
Mon Jun 8 18:06:59 UTC 2009


Andrew Overholt wrote:
> On Fri, 2009-06-05 at 17:09 -0600, Rich Megginson wrote:
>   
>> The 389-console package, a noarch package, depends on jss, a jni
>> package.  If I install 389-console on x86_64, is there some way that RPM
>> can know to require jss.x86_64?
>>     
>
> Is this related?
>
> https://bugzilla.redhat.com/show_bug.cgi?id=235755
>
> Andrew
>   
Possibly.  We have a shell script wrapper around the console - it does 
something like this:

java .... -Djava.library.path=@libdir@ .... my jars ... package.Console "$@"

In the past, it was required that we provided Djava.library.path or java 
could not find and load the jss jni shared library.  Is this still true 
with Java 1.6?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-java-list/attachments/20090608/e6363af6/attachment.bin>


More information about the fedora-devel-java-list mailing list