diff --git a/bsh2.spec b/bsh2.spec index c2a7314..58a7bd5 100644 --- a/bsh2.spec +++ b/bsh2.spec @@ -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 \