[hibernate3] add a depmap to fix the build

Andy Grimm arg at fedoraproject.org
Sat Aug 11 16:12:37 UTC 2012


commit 7798ab12d6e92abdb674e92de6ed4f02631d6b79
Author: Andy Grimm <agrimm at gmail.com>
Date:   Sat Aug 11 12:12:27 2012 -0400

    add a depmap to fix the build

 hibernate3-depmap |   27 +++++++++++++++++++++++++++
 hibernate3.spec   |    3 +++
 2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/hibernate3-depmap b/hibernate3-depmap
new file mode 100644
index 0000000..5be192f
--- /dev/null
+++ b/hibernate3-depmap
@@ -0,0 +1,27 @@
+<dependencies>
+    <dependency>
+        <maven>
+            <groupId>jgroups</groupId>
+            <artifactId>jgroups</artifactId>
+            <version>2.6.13.GA</version>
+        </maven>
+        <jpp>
+            <groupId>JPP</groupId>
+            <artifactId>jgroups212</artifactId>
+            <version>2.12.3.Final</version>
+        </jpp>
+    </dependency>
+    <dependency>
+        <maven>
+            <groupId>org.jboss.javaee</groupId>
+            <artifactId>jboss-transaction-api</artifactId>
+            <version>1.0.1.GA</version>
+        </maven>
+        <jpp>
+            <groupId>JPP</groupId>
+            <artifactId>jboss-transaction-1.1-api</artifactId>
+            <version>1.0.1-SNAPSHOT</version>
+        </jpp>
+    </dependency>
+</dependencies>
+
diff --git a/hibernate3.spec b/hibernate3.spec
index 86a9788..3b64678 100644
--- a/hibernate3.spec
+++ b/hibernate3.spec
@@ -15,6 +15,7 @@ URL: http://www.hibernate.org/
 # git clone git://github.com/hibernate/hibernate-orm
 # cd hibernate-orm/ && git archive --format=tar --prefix=hibernate-orm-3.6.10.Final/ 3.6.10.Final | xz > hibernate-3.6.10.Final.tar.xz
 Source0: hibernate-orm-3.6.10.Final.tar.xz
+Source1: hibernate3-depmap
 
 Patch0:  hibernate-orm-fix-cglib-gid.patch
 Patch1:  hibernate-orm-fix-jacc-gid-aid.patch
@@ -141,7 +142,9 @@ Requires: infinispan
 # Currently 4 tests fail with this error:
 # "Unable to get the default Bean Validation factory"
 export jdk16_home=/usr
+export LANG=en_US.UTF-8
 mvn-rpmbuild \
+  -Dmaven.local.depmap.file=%{SOURCE1} \
   -DdisableDistribution=true \
   -Dmaven.test.skip=true \
   install \


More information about the scm-commits mailing list