diff --git a/apache-commons-codec.changes b/apache-commons-codec.changes index 8bbe476..5403d84 100644 --- a/apache-commons-codec.changes +++ b/apache-commons-codec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 2 13:00:19 UTC 2012 - mvyskocil@suse.cz + +- add junit4 to fix a build fail + ------------------------------------------------------------------- Tue Feb 28 09:59:47 UTC 2012 - mvyskocil@suse.cz diff --git a/apache-commons-codec.spec b/apache-commons-codec.spec index 1fb77d6..6240e27 100644 --- a/apache-commons-codec.spec +++ b/apache-commons-codec.spec @@ -62,6 +62,7 @@ Source4: MANIFEST.MF BuildRequires: ant >= 1.7 BuildRequires: ant-junit >= 1.7 +BuildRequires: junit4 BuildRequires: java-devel >= 1.6.0 %if %with maven @@ -136,12 +137,12 @@ export MAVEN_OPTS="-Dmaven2.jpp.mode=true -Dmaven2.jpp.depmap.file=%{SOURCE2} -D install javadoc:javadoc %else -export CLASSPATH=$(build-classpath junit) -ant -Dbuild.sysclasspath=first \ +export CLASSPATH=$(build-classpath junit4) +ant -v -d -Dbuild.sysclasspath=first \ -Dconf.home=src/conf \ -Dbuild.home=build \ - -Dsource.home=src/java \ - -Dtest.home=src/test \ + -Dsource.home=src/main/java \ + -Dtest.home=src/test/java \ -Ddist.home=dist \ -Dcomponent.title=%{short_name} \ -Dcomponent.version=%{version} \