[packages/brltty] - fix java plugin install on 64bit archs - rel 3
baggins
baggins at pld-linux.org
Fri Sep 21 08:14:13 CEST 2012
commit 538473c2552f34dfdc1305151f222608969f7e40
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Sep 21 08:13:24 2012 +0200
- fix java plugin install on 64bit archs
- rel 3
brltty.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/brltty.spec b/brltty.spec
index 52872f8..5b23db5 100644
--- a/brltty.spec
+++ b/brltty.spec
@@ -27,7 +27,7 @@ Summary: Braille display driver for Linux/Unix
Summary(pl.UTF-8): Sterownik do wyświetlaczy Braille'a
Name: brltty
Version: 4.4
-Release: 2
+Release: 3
Group: Daemons
License: GPL v2+ (brltty and drivers), LGPL v2.1+ (APIs)
Source0: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
@@ -262,6 +262,12 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -j1 install \
OCAML_INSTALL_TARGET=install-without-findlib
+%if %{_lib} != "lib"
+ # Fix java plugin install path on 64-bit archs
+ install -d $RPM_BUILD_ROOT%{_libdir}/java
+ %{__mv} $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}/java/libbrlapi_java.so
+%endif
+
install Documents/brltty.conf $RPM_BUILD_ROOT%{_sysconfdir}
install -d $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/brltty.git/commitdiff/538473c2552f34dfdc1305151f222608969f7e40
More information about the pld-cvs-commit
mailing list