CESNET / glite-lb

gLite Logging and Bookkeeping.
3 stars 2 forks source link

Change location of gLite L&B java client jar-file needed #21

Closed valtri closed 10 years ago

valtri commented 10 years ago

There is used Java Native Interface in the gLite L&B java client (glite-lb-client-java package) for accessing local sockets.

For Fedora/EPEL, the jar-files using JNI should be located in %{_jnidir} (/usr/lib/java) instead of %{_javadir} (/usr/share/java). Link to the according guidelines:

https://fedoraproject.org/wiki/Packaging:Java#Packaging_JAR_files_that_use_JNI

So there is needed to change location of glite-lb-client-java.jar file from /usr/share/java to /usr/lib/java.

Also the native library should be located in %{_libdir}/%{name} (/usr/lib64/glite-lb-client-java) for Fedora/EPEL and in /usr/lib/jni for Debian.

valtri commented 10 years ago

Fixed both Fedora/EPEL and Debian in commit 87a0635.