[SCM] packaging libhibernate3-java branch, master, updated. debian/3.6.9.Final-2

Miguel Landaeta miguel at miguel.cc
Sat Jan 14 16:34:39 UTC 2012


The following commit has been merged in the master branch:
commit 9246940c1b22b1bf1e4ee0e65bf38aebe0fc5f21
Author: Miguel Landaeta <miguel at miguel.cc>
Date:   Sat Jan 14 09:32:14 2012 -0430

    Release

diff --git a/debian/changelog b/debian/changelog
index fc92429..cd9b75a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libhibernate3-java (3.6.9.Final-2) unstable; urgency=low
+
+  * Fix FTBFS by don't installing maven artifacts during build time when
+    the version of the package being built is equal to the one available in
+    the archive. (Closes: #653521).
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Sat, 14 Jan 2012 09:31:42 -0430
+
 libhibernate3-java (3.6.9.Final-1) unstable; urgency=low
 
   [ Miguel Landaeta ]
diff --git a/debian/rules b/debian/rules
index 48e4a67..6f2b17c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,11 @@ DEB_BUILDDIR         := $(CURDIR)/project
 # Avoid incremental builds when packaging a new upstream release by
 # using the maven install target to ensure that artifacts are installed 
 ifeq ($(shell echo -n $(DEB_VERSION) | sed -sre 's/^.*-(.*)$$/\1/'),1)
+ifneq ($(shell dpkg-query -W -f='$${Version}' $(DEB_SOURCE_PACKAGE)),\
+	$(shell echo -n $(DEB_VERSION)))
 DEB_MAVEN_BUILD_TARGET := install
 endif
+endif
 
 clean::
 	-rm -rf debian/null mvn-build

-- 
packaging libhibernate3-java



More information about the pkg-java-commits mailing list