[bsf] Drop jsp/servlet api dependencies, leftovers from the past.

Alexander Kurtakov akurtakov at fedoraproject.org
Fri Mar 16 21:47:16 UTC 2012


commit 156f1e965955be3c0d829e2f185605a4685def3d
Author: Alexander Kurtakov < <akurtako at redhat.com>
Date:   Fri Mar 16 23:47:04 2012 +0200

    Drop jsp/servlet api dependencies, leftovers from the past.

 bsf.spec |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/bsf.spec b/bsf.spec
index 45278a0..382f621 100644
--- a/bsf.spec
+++ b/bsf.spec
@@ -30,11 +30,11 @@
 
 Name:           bsf
 Version:        2.4.0
-Release:        11%{?dist}
+Release:        12%{?dist}
 Epoch:          0
 Summary:        Bean Scripting Framework
 License:        ASL 2.0
-URL:            http://jakarta.apache.org/bsf/
+URL:            http://commons.apache.org/bsf/
 Group:          Development/Libraries
 Source0:        http://apache.osuosl.org/jakarta/%{name}/source/%{name}-src-%{version}.tar.gz
 Source1:        %{name}-pom.xml
@@ -42,16 +42,12 @@ Patch0:         build-file.patch
 Patch1:	        build.properties.patch
 BuildRequires:  jpackage-utils >= 1.6
 BuildRequires:  ant
-BuildRequires:  servlet6
-BuildRequires:  tomcat6-jsp-2.1-api
 BuildRequires:  xalan-j2
 BuildRequires:  jython
-BuildRequires:  apache-commons-logging
 BuildRequires:  rhino
-Requires:	    apache-commons-logging
-Requires:       servlet6
+BuildRequires:  apache-commons-logging
 Requires:       xalan-j2
-Requires:       tomcat6-jsp-2.1-api
+Requires:       apache-commons-logging
 Requires:       jpackage-utils
 BuildArch:      noarch
 
@@ -100,13 +96,12 @@ 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 rhino)
+export CLASSPATH=$(build-classpath apache-commons-logging jython xalan-j2 rhino)
 ant jar
 %{__rm} -rf bsf/src/org/apache/bsf/engines/java
 ant javadocs
 
 %install
-%{__rm} -fr %{buildroot}
 # jar
 %{__install} -d -m 755 %{buildroot}%{_javadir}
 %{__install} -m 644 build/lib/%{name}.jar \
@@ -134,6 +129,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
 %{_javadocdir}/%{name}
 
 %changelog
+* Fri Mar 16 2012 Alexander Kurtakov <akurtako at redhat.com> 0:2.4.0-12
+- Drop jsp/servlet api dependencies, leftovers from the past.
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:2.4.0-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list