- Build against rhino for JavaScript support

This commit is contained in:
Orion Poplawski 2010-09-21 12:18:41 -06:00
parent 418ab4c6cf
commit da95970de9
1 changed files with 6 additions and 2 deletions

View File

@ -30,7 +30,7 @@
Name: bsf
Version: 2.4.0
Release: 7%{?dist}
Release: 8%{?dist}
Epoch: 0
Summary: Bean Scripting Framework
License: ASL 2.0
@ -47,6 +47,7 @@ BuildRequires: tomcat6-jsp-2.1-api
BuildRequires: xalan-j2
BuildRequires: jython
BuildRequires: apache-commons-logging
BuildRequires: rhino
Requires: apache-commons-logging
Requires: servlet6
Requires: xalan-j2
@ -101,7 +102,7 @@ find . -name "*.jar" -exec %{__rm} -f {} \;
%build
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
export CLASSPATH=$(build-classpath apache-commons-logging jython xalan-j2 servlet jsp)
export CLASSPATH=$(build-classpath apache-commons-logging jython xalan-j2 servlet jsp rhino)
ant jar
%{__rm} -rf bsf/src/org/apache/bsf/engines/java
ant javadocs
@ -146,6 +147,9 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
%{_javadocdir}/%{name}
%changelog
* Tue Sep 21 2010 Orion Poplawski <orion@cora.nwra.com> - 0:2.4.0-8
- Build against rhino for JavaScript support
* Mon Jun 14 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.4.0-7
- Added pom file to enable maven dependency resolution
- Fix Source0 URL