Tomáš Chvátal 2014-07-16 13:54:04 +00:00 committed by Git OBS Bridge
parent 73898bf80d
commit 707a5e56da

View File

@ -119,6 +119,7 @@ Group: Development/Libraries/Java
Lightweight Scripting for Java (BeanShell Version 2.x) (Java Documentation).
%package demo
AutoReqProv: no
Summary: Demonstrations and samples for bsh2
Group: Development/Libraries/Java
Requires: %{name} = %{version}-%{release}
@ -159,9 +160,6 @@ perl -p -i -e 's|VERSION =.*;|VERSION = "%{version}-%{release}";|' src/bsh/Inter
# remove internal asm code, use JPackage external jar instead
rm -rf src/bsh/org
perl -p -i -e 's|bsh.org.objectweb.asm|org.objectweb.asm|' src/bsh/ClassGeneratorUtil.java
# remove servlet dependency
#%__rm -rf src/bsh/servlet
#ant -Dexclude-servlet='bsh/servlet/*'
ant \
-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
-Dasm.javadoc=%{_javadocdir}/asm \