From cd30d4e2f356a7f4bb0924f2ea4d342cac3b1f5e Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Tue, 24 Jan 2012 12:00:10 -0600 Subject: [PATCH] FTBFS ugly hack^H^H^H^H^H^H^H^H^Hfix. --- brltty.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/brltty.spec b/brltty.spec index 690264b..2b3c65f 100644 --- a/brltty.spec +++ b/brltty.spec @@ -192,6 +192,12 @@ install -d -m 755 "${RPM_BUILD_ROOT}%{_sysconfdir}" "$RPM_BUILD_ROOT%{_mandir}/m install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT}%{_sysconfdir}" echo ".so man1/brltty.1" > $RPM_BUILD_ROOT%{_mandir}/man5/brltty.conf.5 +%ifarch x86_64 + #Manually place java plugin on x64_64 + mkdir $RPM_BUILD_ROOT%{_prefix}/%{_lib}/java/ + install -m 755 Bindings/Java/libbrlapi_java.so "$RPM_BUILD_ROOT%{_prefix}/%{_lib}/java/" +%endif + # clean up the manuals: rm Documents/Manual-*/*/{*.mk,*.made,Makefile*} mv Documents/BrlAPIref/{html,BrlAPIref}