[apache-commons-math/f15/master] Update to 2.2

Mohamed ElMorabity melmorabity at fedoraproject.org
Thu Mar 10 15:07:29 UTC 2011


commit f42901476ba00435f7f791849438c72d81d849d0
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Thu Mar 10 16:07:29 2011 +0100

    Update to 2.2

 .gitignore                                         |    1 +
 ...he-commons-math-2.2-remove_clirr_from_pom.patch |   19 ++++++++++---------
 apache-commons-math.spec                           |   13 ++++++++-----
 sources                                            |    2 +-
 4 files changed, 20 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 68e9658..f8e7695 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 commons-math-2.0-src.tar.gz
 /commons-math-2.1-src.tar.gz
+/commons-math-2.2-src.tar.gz
diff --git a/commons-math-remove-clirr-from-pom.patch b/apache-commons-math-2.2-remove_clirr_from_pom.patch
similarity index 63%
rename from commons-math-remove-clirr-from-pom.patch
rename to apache-commons-math-2.2-remove_clirr_from_pom.patch
index adf545a..357a5a0 100644
--- a/commons-math-remove-clirr-from-pom.patch
+++ b/apache-commons-math-2.2-remove_clirr_from_pom.patch
@@ -1,13 +1,14 @@
---- pom.xml	2010-10-22 03:37:42.930470377 +0200
-+++ pom.xml	2010-10-22 03:38:07.199469768 +0200
-@@ -269,17 +269,6 @@
+diff -up commons-math-2.2-src/pom.xml.orig commons-math-2.2-src/pom.xml
+--- commons-math-2.2-src/pom.xml.orig	2011-02-26 19:14:36.000000000 +0100
++++ commons-math-2.2-src/pom.xml	2011-03-10 15:05:36.988244002 +0100
+@@ -280,17 +280,6 @@
              </descriptors>
            </configuration>
          </plugin>
 -        <plugin>
 -          <groupId>org.codehaus.mojo</groupId>
 -          <artifactId>clirr-maven-plugin</artifactId>
--          <version>2.2.2</version>
+-          <version>2.3</version>
 -          <executions>
 -            <execution>
 -              <goals>
@@ -16,18 +17,18 @@
 -          </executions>
 -        </plugin>
        </plugins>
-   </build>
-   <reporting>
-@@ -324,14 +313,6 @@
+       <resources>
+         <resource>
+@@ -350,14 +339,6 @@
            <headerFile>${basedir}/license-header.txt</headerFile>
          </configuration>
        </plugin>
 -      <plugin>
 -        <groupId>org.codehaus.mojo</groupId>
 -        <artifactId>clirr-maven-plugin</artifactId>
--        <version>2.2.2</version>
+-        <version>2.2.3</version>
 -        <configuration>
--          <minSeverity>info</minSeverity>
+-          <minSeverity>${minSeverity}</minSeverity>
 -         </configuration>
 -      </plugin>
      </plugins>
diff --git a/apache-commons-math.spec b/apache-commons-math.spec
index c242f7e..d152f3a 100644
--- a/apache-commons-math.spec
+++ b/apache-commons-math.spec
@@ -2,15 +2,15 @@
 %global short_name commons-%{base_name}
 
 Name:             apache-%{short_name}
-Version:          2.1
-Release:          4%{?dist}
+Version:          2.2
+Release:          1%{?dist}
 Summary:          Java library of lightweight mathematics and statistics components
 
 Group:            Development/Libraries
 License:          ASL 1.1 and ASL 2.0 and BSD
 URL:              http://commons.apache.org/%{base_name}/
 Source0:          http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
-Patch0:           %{short_name}-remove-clirr-from-pom.patch
+Patch0:           %{name}-2.2-remove_clirr_from_pom.patch
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:    java-devel >= 1:1.6.0
@@ -26,7 +26,7 @@ BuildRequires:    maven-jar-plugin
 BuildRequires:    maven-javadoc-plugin
 BuildRequires:    maven-plugin-bundle
 BuildRequires:    maven-resources-plugin
-#Should be replaced by maven-surefire-plugin after f15 branch
+# Should be replaced by maven-surefire-plugin after f15 branch
 BuildRequires:    maven-surefire-maven-plugin
 BuildRequires:    maven-surefire-provider-junit4
 Requires:         java >= 1:1.6.0
@@ -52,7 +52,7 @@ This package contains the API documentation for %{name}.
 
 %prep
 %setup -q -n %{short_name}-%{version}-src
-%patch0 -p0
+%patch0 -p1 -b .remove_clirr_from_pom
 
 
 %build
@@ -113,6 +113,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
 
 
 %changelog
+* Thu Mar 10 2011 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.2-1
+- Update to 2.2
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index d5004c5..610c9ba 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5e7f431d77e87888c79f74b0d5a603f0  commons-math-2.1-src.tar.gz
+6261d7991154c992477b32b8f3bea18b  commons-math-2.2-src.tar.gz


More information about the scm-commits mailing list