|
|
a7bf33 |
%bcond_with bootstrap
|
|
|
a7bf33 |
|
|
|
a7bf33 |
Name: apache-commons-io
|
|
|
a7bf33 |
Epoch: 1
|
|
|
a7bf33 |
Version: 2.11.0
|
|
|
a7bf33 |
Release: 2%{?dist}
|
|
|
a7bf33 |
Summary: Utilities to assist with developing IO functionality
|
|
|
a7bf33 |
License: ASL 2.0
|
|
|
a7bf33 |
URL: https://commons.apache.org/io
|
|
|
a7bf33 |
BuildArch: noarch
|
|
|
a7bf33 |
ExclusiveArch: %{java_arches} noarch
|
|
|
a7bf33 |
|
|
|
a7bf33 |
Source0: https://archive.apache.org/dist/commons/io/source/commons-io-%{version}-src.tar.gz
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%if %{with bootstrap}
|
|
|
a7bf33 |
BuildRequires: javapackages-bootstrap-openjdk8
|
|
|
a7bf33 |
%else
|
|
|
a7bf33 |
BuildRequires: maven-local-openjdk8
|
|
|
a7bf33 |
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
|
|
a7bf33 |
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
|
|
a7bf33 |
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
a7bf33 |
BuildRequires: mvn(org.junit.jupiter:junit-jupiter)
|
|
|
a7bf33 |
BuildRequires: mvn(org.mockito:mockito-core)
|
|
|
a7bf33 |
%endif
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%description
|
|
|
a7bf33 |
Commons-IO contains utility classes, stream implementations,
|
|
|
a7bf33 |
file filters, and endian classes. It is a library of utilities
|
|
|
a7bf33 |
to assist with developing IO functionality.
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%{?javadoc_package}
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%prep
|
|
|
a7bf33 |
%setup -q -n commons-io-%{version}-src
|
|
|
a7bf33 |
sed -i 's/\r//' *.txt
|
|
|
a7bf33 |
|
|
|
a7bf33 |
# Run tests in multiple reusable forks to improve test performance
|
|
|
a7bf33 |
sed -i -e /reuseForks/d -e /forkCount/d pom.xml
|
|
|
a7bf33 |
sed -i '/<argLine>/d' pom.xml
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%mvn_file : commons-io %{name}
|
|
|
a7bf33 |
%mvn_alias : org.apache.commons:
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%pom_remove_dep org.junit-pioneer:junit-pioneer
|
|
|
a7bf33 |
%pom_remove_dep :junit-bom
|
|
|
a7bf33 |
%pom_remove_dep com.google.jimfs:jimfs
|
|
|
a7bf33 |
|
|
|
a7bf33 |
# Test depends on com.google.jimfs:jimfs
|
|
|
a7bf33 |
rm src/test/java/org/apache/commons/io/input/ReversedLinesFileReaderTestParamFile.java
|
|
|
a7bf33 |
|
|
|
a7bf33 |
# This annotation is part of junitpioneer
|
|
|
a7bf33 |
sed -i '/DefaultLocale/d' src/test/java/org/apache/commons/io/output/XmlStreamWriterTest.java
|
|
|
a7bf33 |
sed -i '/DefaultLocale/d' src/test/java/org/apache/commons/io/input/XmlStreamReaderTest.java
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%build
|
|
|
a7bf33 |
# See "-DcommonsIoVersion" in maven-surefire for the tested version
|
|
|
a7bf33 |
|
|
|
a7bf33 |
# The following tests fail on tmpfs/nfs:
|
|
|
a7bf33 |
# * PathUtilsDeleteDirectoryTest.testDeleteDirectory1FileSize0OverrideReadOnly:80->testDeleteDirectory1FileSize0:68 » FileSystem
|
|
|
a7bf33 |
# * PathUtilsDeleteFileTest.testDeleteReadOnlyFileDirectory1FileSize1:114 » FileSystem
|
|
|
a7bf33 |
# * PathUtilsDeleteFileTest.testSetReadOnlyFileDirectory1FileSize1:134 » FileSystem
|
|
|
a7bf33 |
# * PathUtilsDeleteTest.testDeleteDirectory1FileSize0OverrideReadonly:97->testDeleteDirectory1FileSize0:69 » FileSystem
|
|
|
a7bf33 |
# * PathUtilsDeleteTest.testDeleteDirectory1FileSize1OverrideReadOnly:145->testDeleteDirectory1FileSize1:117 » FileSystem
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.io
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%install
|
|
|
a7bf33 |
%mvn_install
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%files -f .mfiles
|
|
|
a7bf33 |
%license LICENSE.txt NOTICE.txt
|
|
|
a7bf33 |
%doc RELEASE-NOTES.txt
|
|
|
a7bf33 |
|
|
|
a7bf33 |
%changelog
|
|
|
a7bf33 |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11.0-2
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Sun Apr 24 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.11.0-1
|
|
|
a7bf33 |
- Update to upstream version 2.11.0
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1:2.8.0-7
|
|
|
a7bf33 |
- Rebuilt for java-17-openjdk as system jdk
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.0-6
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.0-5
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.8.0-4
|
|
|
a7bf33 |
- Bootstrap build
|
|
|
a7bf33 |
- Non-bootstrap build
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Feb 3 2021 Mat Booth <mat.booth@redhat.com> - 1:2.8.0-3
|
|
|
a7bf33 |
- Add patch to fix Files.size() failing when symlink target is non-existant
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.0-2
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Fri Oct 16 2020 Fabio Valentini <decathorpe@gmail.com> - 1:2.8.0-1
|
|
|
a7bf33 |
- Update to version 2.8.0.
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Fri Sep 18 2020 Marian Koncek <mkoncek@redhat.com> - 1:2.8.0-1
|
|
|
a7bf33 |
- Update to upstream version 2.8.0
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Aug 18 2020 Fabio Valentini <decathorpe@gmail.com> - 1:2.7-1
|
|
|
a7bf33 |
- Update to version 2.7.
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 1:2.7-1
|
|
|
a7bf33 |
- Update to upstream version 2.7
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-10
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1:2.6-9
|
|
|
a7bf33 |
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-8
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-6
|
|
|
a7bf33 |
- Build with OpenJDK 8
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-5
|
|
|
a7bf33 |
- Mass rebuild for javapackages-tools 201902
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-7
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-4
|
|
|
a7bf33 |
- Mass rebuild for javapackages-tools 201901
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Thu Feb 07 2019 Mat Booth <mat.booth@redhat.com> - 1:2.6-6
|
|
|
a7bf33 |
- Rebuild to regenerate OSGi metadata
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-5
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-4
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-3
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-2
|
|
|
a7bf33 |
- Cleanup spec file
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Sun Oct 22 2017 Michael Simacek <msimacek@redhat.com> - 1:2.6-1
|
|
|
a7bf33 |
- Update to upstream version 2.6
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.5-3
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.5-2
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Thu Jun 23 2016 Michael Simacek <msimacek@redhat.com> - 1:2.5-1
|
|
|
a7bf33 |
- Update to upstream version 2.5
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.4-15
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-14
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-13
|
|
|
a7bf33 |
- Remove legacy Obsoletes/Provides for jakarta-commons
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-12
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.4-11
|
|
|
a7bf33 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-10
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon Apr 22 2013 Michal Srb <msrb@redhat.com> - 1:2.4-9
|
|
|
a7bf33 |
- Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon Apr 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-8
|
|
|
a7bf33 |
- Update to current packaging guidelines
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-7
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:2.4-6
|
|
|
a7bf33 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
a7bf33 |
- Replace maven BuildRequires with maven-local
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jan 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-5
|
|
|
a7bf33 |
- Bump release tag
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Jan 8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-4
|
|
|
a7bf33 |
- Build with xmvn
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon Nov 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-3
|
|
|
a7bf33 |
- Add Provides/Obsoletes for jakarta-commons-io
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-2
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-1
|
|
|
a7bf33 |
- Updae to 2.4
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon Apr 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.3-1
|
|
|
a7bf33 |
- Update to 2.3
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Apr 4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.2-1
|
|
|
a7bf33 |
- Update to 2.2
|
|
|
a7bf33 |
- Remove rpm bug workaround
|
|
|
a7bf33 |
- Finalize renaming from jakarta-comons-io
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1-2
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 1:2.1-1
|
|
|
a7bf33 |
- Update to latest upstream (2.1).
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.0.1-3
|
|
|
a7bf33 |
- Fix build with maven3
|
|
|
a7bf33 |
- Use new add_maven_depmap macro
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.1-2
|
|
|
a7bf33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:2.0.1-1
|
|
|
a7bf33 |
- Update to 2.0.1
|
|
|
a7bf33 |
- Versionless jars & javadocs
|
|
|
a7bf33 |
- Use maven 3 to build
|
|
|
a7bf33 |
- Use apache-commons-parent for BR
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Fri Oct 22 2010 Chris Spike <chris.spike@arcor.de> 1:2.0-1
|
|
|
a7bf33 |
- Updated to 2.0
|
|
|
a7bf33 |
- Cleaned up BRs
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-6
|
|
|
a7bf33 |
- Add license to javadoc subpackage
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Fri May 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-5
|
|
|
a7bf33 |
- Correct depmap filename for backward compatibility
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Mon May 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-4
|
|
|
a7bf33 |
- Fix maven depmap JPP name to short_name
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-3
|
|
|
a7bf33 |
- Add obsoletes to javadoc sub-package
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-2
|
|
|
a7bf33 |
- Add symlink to short_name.jar
|
|
|
a7bf33 |
- Fix mavendepmapfragdir wildcard
|
|
|
a7bf33 |
|
|
|
a7bf33 |
* Tue May 11 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-1
|
|
|
a7bf33 |
- Rename and rebase of jakarta-commons-io
|
|
|
a7bf33 |
- Clean up whole spec
|