[h2] - Fix build to use the correct version of servlet APIs.

Chris Aniszczyk caniszczyk at fedoraproject.org
Fri Feb 18 21:24:21 UTC 2011


commit 67ae9226bf285d91d4089f0f1435d8976ef3acde
Author: Chris Aniszczyk <caniszczyk at gmail.com>
Date:   Fri Feb 18 15:24:07 2011 -0600

    - Fix build to use the correct version of servlet APIs.

 fix-build.patch |    2 +-
 h2.spec         |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/fix-build.patch b/fix-build.patch
index 69f69cf..5af9f8a 100644
--- a/fix-build.patch
+++ b/fix-build.patch
@@ -10,7 +10,7 @@
 -                File.pathSeparator + "ext/" + getLuceneJar() +
 -                File.pathSeparator + "ext/slf4j-api-1.5.0.jar" +
 -                File.pathSeparator + "ext/org.osgi.core-1.2.0.jar" +
-+                File.pathSeparator + "/usr/share/java/servletapi5.jar" +
++                File.pathSeparator + "/usr/share/java/servlet.jar" +
 +                File.pathSeparator + "/usr/share/java/lucene.jar" +
 +                File.pathSeparator + "/usr/share/java/slf4j/api.jar" +
 +                File.pathSeparator + "/usr/share/java/felix/org.osgi.core.jar" +
diff --git a/h2.spec b/h2.spec
index abefe09..d20cb15 100644
--- a/h2.spec
+++ b/h2.spec
@@ -1,6 +1,6 @@
 Name:           h2
 Version:        1.2.147
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Java SQL database
 
 Group:          Development/Libraries
@@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc src/docsrc/html/license.html
 
 %changelog
+* Fri Feb 18 2011 Chris Aniszczyk <zx at redhat.com> 1.2.147-3
+- Fix build to use the correct version of servlet APIs.
+
 * Fri Feb 18 2011 Chris Aniszczyk <zx at redhat.com> 1.2.147-2
 - Fix build to properly export JAVA_HOME.
 


More information about the scm-commits mailing list