fix log4j dep

This commit is contained in:
gil 2014-06-09 02:04:51 +02:00
parent 05b10848a1
commit 9ff413c52f

View File

@ -65,7 +65,7 @@ find . -name "*.jar" -print -delete
%patch0 -p0 %patch0 -p0
sed -i.asm "s|%{_javadir}/objectweb-asm|%{_javadir}/objectweb-asm3|" build.xml 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 %patch1 -p1
cp -p %{SOURCE1} maven/contrib.pom cp -p %{SOURCE1} maven/contrib.pom
@ -75,7 +75,7 @@ sed -i 's/\r//' LICENSE.txt README.txt
%build %build
export CLASSPATH=$(build-classpath log4j12-12) export CLASSPATH=$(build-classpath log4j12-1.2.17)
ant -Dversion=%{version} -Dj2se.apidoc=%{_javadocdir}/java maven ant -Dversion=%{version} -Dj2se.apidoc=%{_javadocdir}/java maven
%install %install