[tritonus] bug 665426 - adding symlinks to JNI dir

lzap lzap at fedoraproject.org
Wed Jan 5 19:41:13 UTC 2011


commit f38f00e3196471386584d6b86df4b4b6f2f3beb3
Author: Lukas Zapletal <lzap+git at redhat.com>
Date:   Wed Jan 5 20:40:42 2011 +0100

    bug 665426 - adding symlinks to JNI dir

 tritonus.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/tritonus.spec b/tritonus.spec
index 155dbcb..a5ae794 100644
--- a/tritonus.spec
+++ b/tritonus.spec
@@ -203,6 +203,13 @@ pushd %{buildroot}%{_libdir}/%{name}
     done
 popd
 
+# Create JNI symlinks (bug 665426)
+pushd %{buildroot}%{_libdir}/%{name}
+    for sofile in *.so; do
+        ln -s $sofile %{_jnidir}/
+    done
+popd
+
 %clean
 rm -rf %{buildroot}
 


More information about the scm-commits mailing list