Package: geronimo-jacc-1.1-spec
Version: 1.0.1-1
Severity: normal
Tags: patch

Hi,

the POM file is needed for packaging hibernate 3.5.x. A patch is
attached.

Thanks,
Torsten
>From 1e1b1559967784e324ad96cf48af6a6bb2a11cfa Mon Sep 17 00:00:00 2001
From: Torsten Werner <twer...@debian.org>
Date: Wed, 19 May 2010 23:15:05 +0200
Subject: [PATCH] Install POM file with maven-repo-helper.

---
 debian/changelog |    7 +++++++
 debian/control   |    2 +-
 debian/rules     |    4 ++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8a3c304..20f8e7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+geronimo-jacc-1.1-spec (1.0.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Install POM file with maven-repo-helper.
+
+ -- Torsten Werner <twer...@debian.org>  Wed, 19 May 2010 23:01:16 +0200
+
 geronimo-jacc-1.1-spec (1.0.1-1) unstable; urgency=low
 
   * Port package to pkg-java based largely on existing Ubuntu package
diff --git a/debian/control b/debian/control
index d51769f..ca8989a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Chris Grzegorczyk <g...@eucalyptus.com>
 DM-Upload-Allowed: yes
 Uploaders: Graziano Obertelli <grazi...@eucalyptus.com>, Kyo Lee <kyo....@eucalyptus.com>
 XSBC-Original-Maintainer: Thierry Carrez <thierry.car...@ubuntu.com>
-Build-Depends-Indep: default-jdk, libservlet2.5-java, junit
+Build-Depends-Indep: default-jdk, libservlet2.5-java, junit, maven-repo-helper
 Build-Depends: ant-optional, debhelper (>= 5), cdbs (>= 0.4.5.3)
 Standards-Version: 3.8.3
 Homepage: http://geronimo.apache.org
diff --git a/debian/rules b/debian/rules
index 268d29b..4289399 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,8 @@ DEB_JARS             := servlet-api-2.5 junit ant-junit
 DEB_ANT_CHECK_TARGET := test
 
 binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
-	dh_install -plib$(DEB_SOURCE_PACKAGE)-java build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java
-	dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar
+	mh_installpom -plib$(DEB_SOURCE_PACKAGE)-java pom.xml --no-parent
+	mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java pom.xml -l build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
 
 get-orig-source:
 	echo "Getting version $(DEB_UPSTREAM_VERSION) from $(SVN)"
-- 
1.7.0

Reply via email to