fix log4j dep

f38
gil 11 years ago
parent aa3c40f05a
commit 05b10848a1

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

Loading…
Cancel
Save