msrb pushed to jffi (f22). "Install *.so file to %{_libdir}/%{name}/"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Mar 26 08:42:55 UTC 2015


>From 824acd56c8fa363d1ee7a74ee5739000fe2958b6 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb at redhat.com>
Date: Fri, 20 Feb 2015 14:56:54 +0100
Subject: Install *.so file to %{_libdir}/%{name}/


diff --git a/jffi.spec b/jffi.spec
index d00620e..4227867 100644
--- a/jffi.spec
+++ b/jffi.spec
@@ -2,7 +2,7 @@
 
 Name:           jffi
 Version:        1.2.7
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Java Foreign Function Interface
 
 License:        LGPLv3+ or ASL 2.0
@@ -67,6 +67,10 @@ cp -p dist/jffi-*-Linux.jar archive/
 %install
 %mvn_install
 
+# install *.so
+install -dm 755 %{buildroot}%{_libdir}/%{name}
+cp -rp target/jni/* %{buildroot}%{_libdir}/%{name}/
+
 %check
 # skip tests on s390 until https://bugzilla.redhat.com/show_bug.cgi?id=1084914 is resolved
 %ifnarch s390
@@ -79,12 +83,16 @@ ant -Duse.system.libffi=1 test
 %doc COPYING.GPL COPYING.LESSER LICENSE
 
 %files native -f .mfiles-native
+%{_libdir}/%{name}
 %doc COPYING.GPL COPYING.LESSER LICENSE
 
 %files javadoc -f .mfiles-javadoc
 %doc COPYING.GPL COPYING.LESSER LICENSE
 
 %changelog
+* Fri Feb 20 2015 Michal Srb <msrb at redhat.com> - 1.2.7-3
+- Install *.so file to %{_libdir}/%{name}/
+
 * Tue Feb 17 2015 Michal Srb <msrb at redhat.com> - 1.2.7-2
 - Build jffi-native
 - Introduce javadoc subpackage
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jffi.git/commit/?h=f22&id=824acd56c8fa363d1ee7a74ee5739000fe2958b6


More information about the scm-commits mailing list