Mat Booth a448339
%global short_name commons-math3
bb50d93
2ae73fe
Name:             apache-commons-math
22debac
Version:          3.6.1
1f09d89
Release:          8%{?dist}
1aa3637
Summary:          Java library of lightweight mathematics and statistics components
1aa3637
License:          ASL 1.1 and ASL 2.0 and BSD
Mat Booth a448339
URL:              http://commons.apache.org/math/
Mat Booth a448339
Source0:          http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz
1aa3637
Stanislav Ochotnicky 71d64e8
BuildRequires:    maven-local
1f09d89
BuildRequires:    mvn(junit:junit)
01684f2
BuildRequires:    mvn(org.apache.commons:commons-parent:pom:)
1aa3637
BuildArch:        noarch
bb50d93
bb50d93
%description
bb50d93
Commons Math is a library of lightweight, self-contained mathematics and
bb50d93
statistics components addressing the most common problems not available in the
bb50d93
Java programming language or Commons Lang.
bb50d93
fa484b9
bb50d93
%package javadoc
1aa3637
Summary:          Javadoc for %{name}
bb50d93
bb50d93
%description javadoc
bb50d93
This package contains the API documentation for %{name}.
bb50d93
fa484b9
bb50d93
%prep
01684f2
%autosetup -n %{short_name}-%{version}-src -p1
bb50d93
8676fa4
# Skip test that fails on Java 11
8676fa4
sed -i -e '/checkMissingFastMathClasses/i@Ignore' \
8676fa4
src/test/java/org/apache/commons/math3/util/FastMathTest.java
8676fa4
Mat Booth a448339
# Compatibility links
Mat Booth a448339
%mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}"
Mat Booth a448339
%mvn_file :%{short_name} %{short_name} %{name}
bb50d93
bb50d93
%build
8676fa4
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
bb50d93
fa484b9
8be1e55
%install
Mat Booth a448339
%mvn_install
bb50d93
fa484b9
Mat Booth a448339
%files -f .mfiles
22debac
%doc NOTICE.txt RELEASE-NOTES.txt
22debac
%license LICENSE.txt
bb50d93
fa484b9
Mat Booth a448339
%files javadoc -f .mfiles-javadoc
22debac
%doc NOTICE.txt
22debac
%license LICENSE.txt
bb50d93
fa484b9
bb50d93
%changelog
1f09d89
* Tue Jul 27 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.6.1-8
1f09d89
- Add explicit BuildRequires on JUnit
1f09d89
b60604c
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-7
b60604c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
b60604c
5756d18
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-6
5756d18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5756d18
6d18bfa
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-5
6d18bfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6d18bfa
8676fa4
* Thu Jul 16 2020 Mat Booth <mat.booth@redhat.com> - 3.6.1-4
8676fa4
- Allow building on JDK 11
8676fa4
3812b08
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.6.1-3
3812b08
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
3812b08
77e0006
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-2
77e0006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
77e0006
22debac
* Fri Aug 09 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.6.1-1
22debac
- Update to 3.6.1
22debac
846b826
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-11
846b826
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
846b826
aae1d14
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-10
aae1d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aae1d14
9912286
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-9
9912286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9912286
34c2c9b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-8
34c2c9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
34c2c9b
d92b198
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-7
d92b198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d92b198
7d6df73
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-6
7d6df73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7d6df73
24a5db3
* Wed Feb 01 2017 Michael Simacek <msimacek@redhat.com> - 3.4.1-5
24a5db3
- Remove BR on jacoco
24a5db3
01684f2
* Fri Dec 16 2016 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.4.1-4
01684f2
- Fix RHBZ #1402145
01684f2
- Spec cleanup
01684f2
a025615
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
a025615
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a025615
c621a8d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-2
c621a8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c621a8d
3756a9d
* Tue Jan 13 2015 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.4.1-1
3756a9d
- Update to 3.4.1
3756a9d
977e66e
* Mon Jan 05 2015 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.4-1
977e66e
- Update to 3.4
977e66e
e79cd97
* Fri Jun 13 2014 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.3-1
e79cd97
- Update to 3.3
e79cd97
- Drop apache-commons-math-3.2-RHBZ1084441.patch (fixed in 3.3)
e79cd97
- Drop apache-commons-math-3.2-JDK8.patch (Java 8 support enabled in 3.3)
e79cd97
a811a73
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-5
a811a73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a811a73
fa484b9
* Wed Apr 23 2014 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.2-4
fa484b9
- Fix RHBZ #1084441 (see
fa484b9
  https://issues.apache.org/jira/browse/MATH-1057)
fa484b9
- Disable unit test checking that all StrictMath methods are reimplemented in
fa484b9
  commons-math
fa484b9
03695ce
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 3.2-4
03695ce
- Use Requires: java-headless rebuild (#1067528)
03695ce
Mat Booth a448339
* Tue Aug 06 2013 Mat Booth <fedora@matbooth.co.uk> - 3.2-3
Mat Booth a448339
- Update for newer guidelines
Mat Booth a448339
37cd782
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-2
37cd782
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
37cd782
44037a7
* Sat May 11 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.2-1
44037a7
- Update to 3.2
44037a7
093795d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-3
093795d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
093795d
Stanislav Ochotnicky 71d64e8
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.1.1-2
Stanislav Ochotnicky 71d64e8
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 71d64e8
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 71d64e8
a328922
* Tue Jan 15 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.1.1-1
a328922
- Update to 3.1.1
a328922
153ebca
* Sun Dec 30 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.1-1
153ebca
- Update to 3.1
153ebca
42f8c7f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2
42f8c7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
42f8c7f
2ae73fe
* Thu Mar 22 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0-1
2ae73fe
- Update to 3.0
2ae73fe
8be1e55
* Mon Jan 16 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.2-3
8be1e55
- Add missing apache-rat-plugin dependency
8be1e55
- Use Maven 3
8be1e55
- Spec cleanup
8be1e55
cfa9674
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
cfa9674
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cfa9674
efafd55
* Thu Mar 10 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.2-1
efafd55
- Update to 2.2
efafd55
4013281
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-4
4013281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4013281
mbooth 8840285
* Wed Dec 29 2010 Mat Booth <fedora@matbooth.co.uk> 2.1-3
mbooth 8840285
- Drop versioned jars and javadocs, fixes F15 upgrade path.
mbooth 8840285
c52b9fb
* Fri Oct 22 2010 Chris Spike <chris.spike@arcor.de> 2.1-2
c52b9fb
- Fixed maven-surefire-plugin BR for F14
c52b9fb
1aa3637
* Fri Oct 22 2010 Chris Spike <chris.spike@arcor.de> 2.1-1
1aa3637
- Updated to 2.1
1aa3637
- Removed dependency on main package for -javadoc subpackage
1aa3637
- Fixed maven depmap entry
1aa3637
- Added jarfile symlinks (rhbz#612455)
1aa3637
- Added javadoc symlinks
1aa3637
- Added license file to -javadoc subpackage
1aa3637
c1ff31c
* Wed Feb  3 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 2.0-6
c1ff31c
- Add missing %%post/%%postun Requires
c1ff31c
- Use macro %%{_mavendepmapfragdir} instead of %%{_datadir}/maven2/pom
c1ff31c
- Unown directories %%{_mavenpomdir} and %%{_mavendepmapfragdir}
c1ff31c
1d84b78
* Wed Jan 20 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 2.0-5
1d84b78
- Drop duplicate BuildRequires maven2
1d84b78
bb50d93
* Fri Jan  8 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 2.0-4
bb50d93
- Update description
bb50d93
- Add ASL 1.1 and BSD to License tag
bb50d93
bb50d93
* Thu Jan  7 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 2.0-3
bb50d93
- Change RPM name from "jakarta-commons-math" to "apache-commons-math"
bb50d93
bb50d93
* Sun Jan  3 2010 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 2.0-2
bb50d93
- Update Summary tag
bb50d93
bb50d93
* Mon Dec 28 2009 ELMORABITY Mohamed <melmorabity@fedoraproject.org> 2.0-1
bb50d93
- Initial RPM release