diff --git a/apache-commons-io.spec b/apache-commons-io.spec index b75f26c..b27167a 100644 --- a/apache-commons-io.spec +++ b/apache-commons-io.spec @@ -26,12 +26,13 @@ to assist with developing IO functionality. %setup -q -n commons-io-%{version}-src 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_alias : org.apache.commons: -# NOTE: tests *may* fail because commons-io is on surefire's classpath and causes -# tests to be run against the system version and not the one we just built +%build %mvn_build %install