[maven-eclipse-plugin] Add exclusive arch for rhel.

Alexander Kurtakov akurtakov at fedoraproject.org
Fri Dec 9 12:09:27 UTC 2011


commit 3fc0413c45cab402497253c122e15c6b3316a70b
Author: Alexander Kurtakov < <akurtako at redhat.com>
Date:   Fri Dec 9 14:09:04 2011 +0200

    Add exclusive arch for rhel.

 maven-eclipse-plugin.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/maven-eclipse-plugin.spec b/maven-eclipse-plugin.spec
index fba0255..6674ae4 100644
--- a/maven-eclipse-plugin.spec
+++ b/maven-eclipse-plugin.spec
@@ -1,6 +1,6 @@
 Name:           maven-eclipse-plugin
 Version:        2.8
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Maven Eclipse Plugin
 
 Group:          Development/Libraries
@@ -11,7 +11,11 @@ Patch0:         add_compat.patch
 Patch1:         reduced_exception.patch
 Patch2:         kill-bsh.patch
 
+%if 0%{?rhel} >= 6
+ExclusiveArch: %{ix86} x86_64
+%else
 BuildArch: noarch
+%endif
 
 # Basic stuff
 BuildRequires: jpackage-utils
@@ -122,6 +126,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
 %{_javadocdir}/%{name}
 
 %changelog
+* Fri Dec 9 2011 Alexander Kurtakov <akurtako at redhat.com> 2.8-7
+- Add exclusive arch for rhel.
+
 * Mon Dec 5 2011 Alexander Kurtakov <akurtako at redhat.com> 2.8-6
 - Fix build in pure maven 3 environment.
 


More information about the scm-commits mailing list