[jansi-native] use macro instead of (out-of-date) list of 64-bit architectures

Marek Goldmann goldmann at fedoraproject.org
Tue Nov 26 08:11:44 UTC 2013


commit f6eca4ca7934c7643bfa0cf64be6faf19b8c8417
Author: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>
Date:   Mon Nov 25 13:21:46 2013 +0100

    use macro instead of (out-of-date) list of 64-bit architectures
    
    Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>

 jansi-native.spec |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/jansi-native.spec b/jansi-native.spec
index ca92b73..996f9af 100644
--- a/jansi-native.spec
+++ b/jansi-native.spec
@@ -1,13 +1,9 @@
-%global bits 32
+%global bits %{__isa_bits}
 %global debug_package %{nil}
 
-%ifarch x86_64 ppc64 s390x sparc64
-  %global bits 64
-%endif
-
 Name:             jansi-native
 Version:          1.5
-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
@@ -63,6 +59,9 @@ This package contains the API documentation for %{name}.
 %doc license.txt
 
 %changelog
+* Mon Nov 25 2013 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 1.5-2
+- Use %__isa_bits macro to support all architectures
+
 * Wed Sep 11 2013 Marek Goldmann <mgoldman at redhat.com> - 1.5-1
 - Upstream release 1.5
 


More information about the scm-commits mailing list