[apache-commons-math] Update to 3.3

Mohamed ElMorabity melmorabity at fedoraproject.org
Fri Jun 13 16:48:01 UTC 2014


commit e79cd9716e0721ab47956d3024d2e11dd4b4cf24
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Fri Jun 13 18:47:51 2014 +0200

    Update to 3.3

 .gitignore                                |    1 +
 apache-commons-math-3.2-JDK8.patch        |   11 --
 apache-commons-math-3.2-RHBZ1084441.patch |  209 -----------------------------
 apache-commons-math.spec                  |   24 ++--
 sources                                   |    2 +-
 5 files changed, 13 insertions(+), 234 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8327c48..256582e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ commons-math-2.0-src.tar.gz
 /commons-math3-3.1-src.tar.gz
 /commons-math3-3.1.1-src.tar.gz
 /commons-math3-3.2-src.tar.gz
+/commons-math3-3.3-src.tar.gz
diff --git a/apache-commons-math.spec b/apache-commons-math.spec
index 29cb9af..d8cb707 100644
--- a/apache-commons-math.spec
+++ b/apache-commons-math.spec
@@ -1,22 +1,13 @@
 %global short_name commons-math3
 
 Name:             apache-commons-math
-Version:          3.2
-Release:          5%{?dist}
+Version:          3.3
+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/math/
 Source0:          http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz
-# Fix RHBZ #1084441 (Fix BOBYQAOptimizerTest failing tests; see also
-# https://issues.apache.org/jira/browse/MATH-1057)
-Patch0:           %{name}-3.2-RHBZ1084441.patch
-# commons-math doesn't reimplement (yet) in
-# org.apache.commons.math3.util.FastMath the new methods introduced by Java 8 in
-# java.lang.StrictMath. This patch disables the unit test checking that all
-# StrictMath methods are reimplemented in commons-math
-# TODO: drop this patch once commons-math fully supports Java 8
-Patch1:           %{name}-3.2-JDK8.patch
 
 BuildRequires:    java-devel >= 1:1.6.0
 BuildRequires:    jpackage-utils
@@ -40,13 +31,15 @@ This package contains the API documentation for %{name}.
 
 %prep
 %setup -q -n %{short_name}-%{version}-src
-%patch0 -p1 -b .RHBZ1084441
-%patch1 -p1 -b .JDK8
 
 # Compatibility links
 %mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}"
 %mvn_file :%{short_name} %{short_name} %{name}
 
+# Disable Jacoco Maven plugin until a suitable version is available in Fedora
+# (0.7.0)
+rm src/site/resources/profile.jacoco
+
 
 %build
 %mvn_build
@@ -65,6 +58,11 @@ This package contains the API documentation for %{name}.
 
 
 %changelog
+* Fri Jun 13 2014 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.3-1
+- Update to 3.3
+- Drop apache-commons-math-3.2-RHBZ1084441.patch (fixed in 3.3)
+- Drop apache-commons-math-3.2-JDK8.patch (Java 8 support enabled in 3.3)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index b5b48c3..79288f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a44e9b189fbf53e06f75cb6728c3642a  commons-math3-3.2-src.tar.gz
+b8156da5ce35c4c963aecfdad919950a  commons-math3-3.3-src.tar.gz


More information about the scm-commits mailing list