[h2] Bring back real pom.

Alexander Kurtakov akurtakov at fedoraproject.org
Mon Jul 23 20:13:10 UTC 2012


commit 6a37dd26f5dd1d7267f26894e68e1e219f16795b
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Mon Jul 23 23:12:54 2012 +0300

    Bring back real pom.

 fix-build.patch |    3 ++-
 h2-1.3.168.pom  |   22 ++++++++++++++++++++++
 h2.spec         |    7 ++++++-
 3 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/fix-build.patch b/fix-build.patch
index a6dd069..fa9a514 100644
--- a/fix-build.patch
+++ b/fix-build.patch
@@ -1,6 +1,6 @@
 --- Build.java.sav	2012-07-13 17:04:34.000000000 +0300
 +++ Build.java	2012-07-23 11:47:00.693965953 +0300
-@@ -150,12 +150,11 @@ public class Build extends BuildBase {
+@@ -150,12 +150,12 @@ public class Build extends BuildBase {
          switchSource(debugInfo);
          clean();
          mkdir("temp");
@@ -12,6 +12,7 @@
 -                File.pathSeparator + "ext/org.osgi.core-1.2.0.jar" +
 +        		File.pathSeparator + "/usr/share/java/servlet.jar" +
 +        		File.pathSeparator + "/usr/share/java/lucene.jar" +
++        		File.pathSeparator + "/usr/share/java/lucene-contrib/lucene-analysis.jar" +
 +        		File.pathSeparator + "/usr/share/java/slf4j/api.jar" +
 +        		File.pathSeparator + "/usr/share/java/felix/org.osgi.core.jar" +
                  File.pathSeparator + System.getProperty("java.home") + "/../lib/tools.jar";
diff --git a/h2-1.3.168.pom b/h2-1.3.168.pom
new file mode 100644
index 0000000..7db01e6
--- /dev/null
+++ b/h2-1.3.168.pom
@@ -0,0 +1,22 @@
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>com.h2database</groupId>
+    <artifactId>h2</artifactId>
+    <version>1.3.168</version>
+    <packaging>jar</packaging>
+    <name>H2 Database Engine</name>
+    <url>http://www.h2database.com</url>
+    <description>H2 Database Engine</description>
+    <licenses>
+        <license>
+            <name>The H2 License, Version 1.0</name>
+            <url>http://h2database.com/html/license.html</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+    <scm>
+        <url>http://h2database.googlecode.com/svn/trunk</url>
+    </scm>
+    <dependencies>
+    </dependencies>
+</project>
\ No newline at end of file
diff --git a/h2.spec b/h2.spec
index d359c35..f1cb248 100644
--- a/h2.spec
+++ b/h2.spec
@@ -1,17 +1,19 @@
 Name:           h2
 Version:        1.3.168
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Java SQL database
 
 Group:          Development/Libraries
 License:        EPL
 URL:            http://www.h2database.com
 Source0:        http://www.h2database.com/h2-2012-07-13.zip
+Source1:        http://repo2.maven.org/maven2/com/h2database/h2/%{version}/h2-%{version}.pom
 Patch1:         fix-build.patch
 BuildArch: noarch
 BuildRequires: java-devel >= 1:1.5.0
 BuildRequires:  ant
 BuildRequires:  lucene >= 2.4
+BuildRequires:  lucene-contrib
 BuildRequires:  slf4j >= 1.5
 BuildRequires:  felix-osgi-core >= 1.2
 BuildRequires:  servlet3
@@ -73,6 +75,9 @@ cp -rp %SOURCE1 $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %doc src/docsrc/html/license.html
 
 %changelog
+* Mon Jul 23 2012 Alexander Kurtakov <akurtako at redhat.com> 1.3.168-2
+- Bring back real pom.
+
 * Mon Jul 23 2012 Alexander Kurtakov <akurtako at redhat.com> 1.3.168-1
 - Update to latest upstream.
 


More information about the scm-commits mailing list