[jansi-native] fix build on non-x86 64-bit arches

Dan Horák sharkcz at fedoraproject.org
Wed Oct 26 07:17:56 UTC 2011


commit 8e2b4005879fdaf2768f49aba06ad606cdb70220
Author: Dan Horák <dan at danny.cz>
Date:   Wed Oct 26 09:17:53 2011 +0200

    fix build on non-x86 64-bit arches

 jansi-native.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/jansi-native.spec b/jansi-native.spec
index 8a7f247..8b9c506 100644
--- a/jansi-native.spec
+++ b/jansi-native.spec
@@ -1,13 +1,13 @@
 %global bits 32
 %global debug_package %{nil}
 
-%ifarch x86_64
+%ifarch x86_64 ppc64 s390x sparc64
   %global bits 64
 %endif
 
 Name:             jansi-native
 Version:          1.2
-Release:          1%{?dist}
+Release:          2%{?dist}
 Summary:          Jansi Native implements the JNI Libraries used by the Jansi project
 Group:            Development/Libraries
 License:          ASL 2.0
@@ -94,6 +94,9 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %doc license.txt
 
 %changelog
+* Wed Oct 26 2011 Dan Horák <dan[at]danny.cz> 1.2-2
+- fix build on non-x86 64-bit arches
+
 * Thu Jul 28 2011 Marek Goldmann <mgoldman at redhat.com> 1.2-1
 - Upstream release 1.2
 - Using new jnidir


More information about the scm-commits mailing list