[jna/f12/master: 2/3] fix excludearch condition

Levente Farkas lfarkas at fedoraproject.org
Fri Oct 8 09:50:39 UTC 2010


commit 2c757b88b447ed13e7ca9d2bf300903e57c657ec
Author: Levente Farkas <lfarkas at lfarkas.org>
Date:   Fri Oct 8 11:40:04 2010 +0200

    fix excludearch condition

 jna.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/jna.spec b/jna.spec
index 776d69b..8793ee5 100644
--- a/jna.spec
+++ b/jna.spec
@@ -1,6 +1,6 @@
 Name:           jna
 Version:        3.2.7
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Pure Java access to native libraries
 
 Group:          Development/Libraries
@@ -37,7 +37,7 @@ BuildRequires:  java-devel >= 1:1.6.0, jpackage-utils, libffi-devel
 BuildRequires:  ant, ant-junit, ant-nodeps, ant-trax, junit
 BuildRequires:  libX11-devel, libXt-devel
 # for ExclusiveArch see bug: 468831 640005 548099
-%if 0%{?rhel} < 6
+%if 0%{?fedora} < 10 && 0%{?rhel} < 6
 ExclusiveArch: %{ix86} x86_64
 %endif
 
@@ -180,6 +180,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Oct  8 2010 Levente Farkas <lfarkas at lfarkas.org> - 3.2.7-7
+- fix excludearch condition
+
 * Wed Oct  6 2010 Levente Farkas <lfarkas at lfarkas.org> - 3.2.7-6
 - readd excludearch for old release fix #548099
 


More information about the scm-commits mailing list