diff --git a/jdom2.spec b/jdom2.spec index 20586cd..1fbf3cb 100644 --- a/jdom2.spec +++ b/jdom2.spec @@ -65,7 +65,7 @@ find . -name "*.jar" -print -delete %patch0 -p0 sed -i.asm "s|%{_javadir}/objectweb-asm|%{_javadir}/objectweb-asm3|" build.xml -sed -i.log4j "s|log4j.jar|log4j12-12.jar|" build.xml +sed -i.log4j "s|log4j.jar|log4j12-1.2.17.jar|" build.xml %patch1 -p1 cp -p %{SOURCE1} maven/contrib.pom @@ -75,7 +75,7 @@ sed -i 's/\r//' LICENSE.txt README.txt %build -export CLASSPATH=$(build-classpath log4j12-12) +export CLASSPATH=$(build-classpath log4j12-1.2.17) ant -Dversion=%{version} -Dj2se.apidoc=%{_javadocdir}/java maven %install