diff --git a/apache-commons-codec-build.xml b/apache-commons-codec-build.xml index 3361476..7296051 100644 --- a/apache-commons-codec-build.xml +++ b/apache-commons-codec-build.xml @@ -22,7 +22,8 @@ collection of phonetic encoding utilities."/> - + + @@ -31,11 +32,7 @@ collection of phonetic encoding utilities."/> - - - - - + @@ -43,8 +40,6 @@ collection of phonetic encoding utilities."/> - - @@ -71,6 +66,7 @@ collection of phonetic encoding utilities."/> optimize="false" deprecation="true" target="${compiler.target}" + release="${compiler.release}" verbose="false" fork="false" source="${compiler.source}"> @@ -91,110 +87,6 @@ collection of phonetic encoding utilities."/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =================================== WARNING =================================== - JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. - =============================================================================== - - @@ -204,7 +96,6 @@ collection of phonetic encoding utilities."/> packagenames="*" destdir="${reporting.outputDirectory}/apidocs" access="protected" - old="false" verbose="false" encoding="UTF-8" version="true" @@ -229,7 +120,7 @@ collection of phonetic encoding utilities."/> - + = 1.7 -BuildRequires: apache-commons-lang3 -BuildRequires: hamcrest-core -BuildRequires: junit -BuildRequires: mozilla-nss -%endif %description Commons Codec is an attempt to provide definitive implementations of @@ -79,14 +71,7 @@ dos2unix RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt %build mkdir -p lib -%if %{with tests} -build-jar-repository -s lib junit4 hamcrest/core commons-lang3 -%endif -ant \ -%if %{without tests} - -Dtest.skip=true \ -%endif - -Dcompiler.source=1.8 -Dcompiler.target=1.8 \ +%{ant} \ jar javadoc %install