[brltty/f16] fix build on 64-bit arches
Dan Horák
sharkcz at fedoraproject.org
Fri Mar 23 10:36:25 UTC 2012
commit e4f718cb617d01ae7dd5f59b0935a731fa55123d
Author: Dan Horák <dan at danny.cz>
Date: Fri Mar 23 11:36:20 2012 +0100
fix build on 64-bit arches
brltty.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/brltty.spec b/brltty.spec
index 2c2529f..3e7c227 100644
--- a/brltty.spec
+++ b/brltty.spec
@@ -17,7 +17,7 @@
Name: brltty
Version: %{pkg_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://mielke.cc/brltty/
@@ -192,8 +192,8 @@ 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
+%if %{_lib} == "lib64"
+ #Manually place java plugin on 64-bit arches
mkdir $RPM_BUILD_ROOT%{_prefix}/%{_lib}/java/
install -m 755 Bindings/Java/libbrlapi_java.so "$RPM_BUILD_ROOT%{_prefix}/%{_lib}/java/"
%endif
@@ -299,6 +299,9 @@ exit 0
%changelog
+* Fri Mar 23 2012 Dan Horák <dan[at]danny.cz> - 4.3-4
+- fix build on 64-bit arches
+
* Fri Feb 03 2012 Jon Ciesla <limburgher at gmail.com> - 4.3-3
- Fixed libbrlapi.so symlink, BZ 558132.
More information about the scm-commits
mailing list