[maven] Change to arch specific since we are using _libdir for _jnidir

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Jul 28 13:33:48 UTC 2011


commit e48a64d2295d61601fd7dcd6b30d139eb5b6583d
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Jul 28 15:32:13 2011 +0200

    Change to arch specific since we are using _libdir for _jnidir

 maven.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/maven.spec b/maven.spec
index 287e1d6..c794e5b 100644
--- a/maven.spec
+++ b/maven.spec
@@ -1,7 +1,7 @@
 
 Name:           maven
 Version:        3.0.3
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Java project management and project comprehension tool
 
 Group:          Development/Tools
@@ -36,8 +36,6 @@ Patch150:         0001-Add-plugin-api-deps.patch
 # Patch2XX for non-upstreamable patches
 Patch200:       0002-Use-custom-resolver.patch
 
-BuildArch:      noarch
-
 BuildRequires:  maven
 BuildRequires:  maven-parent
 BuildRequires:  maven-assembly-plugin
@@ -93,6 +91,9 @@ Requires:       mojo-parent
 Requires:       hamcrest
 Requires:       apache-commons-parent
 
+# for noarch->arch change
+Obsoletes:      %{name} < 0:3.0.3-11
+
 
 %description
 Maven is a software project management and comprehension tool. Based on the
@@ -327,6 +328,9 @@ install -Dm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
 
 
 %changelog
+* Thu Jul 28 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 3.0.3-11
+- Change to arch specific since we are using _libdir for _jnidir
+
 * Tue Jul 26 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 3.0.3-10
 - Add bash completion (#706856)
 


More information about the scm-commits mailing list