Compare commits

..

No commits in common. "c8s-stream-201801" and "c8-stream-3.6" have entirely different histories.

View File

@ -1,7 +1,7 @@
Name: apache-commons-io Name: apache-commons-io
Epoch: 1 Epoch: 1
Version: 2.6 Version: 2.6
Release: 3%{?dist} Release: 6%{?dist}
Summary: Utilities to assist with developing IO functionality Summary: Utilities to assist with developing IO functionality
License: ASL 2.0 License: ASL 2.0
URL: http://commons.apache.org/io URL: http://commons.apache.org/io
@ -9,7 +9,7 @@ BuildArch: noarch
Source0: http://archive.apache.org/dist/commons/io/source/commons-io-%{version}-src.tar.gz Source0: http://archive.apache.org/dist/commons/io/source/commons-io-%{version}-src.tar.gz
BuildRequires: maven-local BuildRequires: maven-local-openjdk8
BuildRequires: mvn(junit:junit) BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
@ -19,28 +19,39 @@ Commons-IO contains utility classes, stream implementations,
file filters, and endian classes. It is a library of utilities file filters, and endian classes. It is a library of utilities
to assist with developing IO functionality. to assist with developing IO functionality.
%{?module_package}
%{?javadoc_package} %{?javadoc_package}
%prep %prep
%setup -q -n commons-io-%{version}-src %setup -q -n commons-io-%{version}-src
sed -i 's/\r//' *.txt sed -i 's/\r//' *.txt
%build # Run tests in multiple reusable forks to improve test performance
sed -i -e /reuseForks/d -e /forkCount/d pom.xml
%mvn_file : commons-io %{name} %mvn_file : commons-io %{name}
%mvn_alias : org.apache.commons: %mvn_alias : org.apache.commons:
# NOTE: tests *may* fail because commons-io is on surefire's classpath and causes %build
# tests to be run against the system version and not the one we just built
%mvn_build %mvn_build
%install %install
%mvn_install %mvn_install
%files -f .mfiles %files -n %{?module_prefix}%{name} -f .mfiles
%license LICENSE.txt NOTICE.txt %license LICENSE.txt NOTICE.txt
%doc RELEASE-NOTES.txt %doc RELEASE-NOTES.txt
%changelog %changelog
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-6
- Build with OpenJDK 8
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-5
- Mass rebuild for javapackages-tools 201902
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.6-4
- Mass rebuild for javapackages-tools 201901
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-3 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild