From c8b80893a4e32defb87be21720a86172a24bc3f6 Mon Sep 17 00:00:00 2001 From: Hugo Trippaers Date: Fri, 4 Oct 2013 18:11:49 +0200 Subject: [PATCH] Fix for -SNAPSHOT problem in debian rules. Use -snapshot in the changelog to force the packaging to use the -SNAPSHOT extension for maven targets (cherry picked from commit 2b47611c5d44893021016d2df9713c392cfa92df) Signed-off-by: Rohit Yadav Conflicts: debian/changelog debian/rules --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 66800dea831..4edf8930605 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//') -MVNADD := $(shell if echo '$(DEBVERS)' | grep -q snapshot; then echo ; fi ) +MVNADD := $(shell if echo '$(DEBVERS)' | grep -q snapshot; then echo -SNAPSHOT; fi ) PACKAGE = $(shell dh_listpackages|head -n 1|cut -d '-' -f 1) SYSCONFDIR = "/etc" DESTDIR = "debian/tmp"