[libitext5-java] 04/12: Switch from cdbs to dh sequencer.

Markus Koschany apo at moszumanska.debian.org
Wed Mar 21 12:40:48 GMT 2018


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository libitext5-java.

commit 722ffc28789298b6385f33228a33b16fb79338d0
Author: Markus Koschany <apo at debian.org>
Date:   Wed Mar 21 13:07:12 2018 +0100

    Switch from cdbs to dh sequencer.
---
 debian/control |  2 +-
 debian/rules   | 12 +++++-------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/debian/control b/debian/control
index 732f528..c054dff 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Andrew Ross <ubuntu at rossfamily.co.uk>, Emmanuel Bourg <ebourg at apache.org>
-Build-Depends: cdbs, debhelper (>= 11), default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends: debhelper (>= 11), default-jdk, maven-debian-helper (>= 1.5)
 Build-Depends-Indep: default-jdk-doc,
                      ghostscript,
                      junit4,
diff --git a/debian/rules b/debian/rules
index d6d27cd..699207e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,10 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/maven.mk
+%:
+	dh $@ --buildsystem=maven
 
-JAVA_HOME := /usr/lib/jvm/default-java
-
-DEB_MAVEN_ARGS = -DgsExec=/usr/bin/gs
+override_dh_auto_build:
+	dh_auto_build -- -DgsExec=/usr/bin/gs
 
 ### This could work with dh but does for sure not with cdbs
 ### Simply keeping this to conserve the idea
@@ -14,4 +12,4 @@ DEB_MAVEN_ARGS = -DgsExec=/usr/bin/gs
 #	xvfb-run -a dh_auto_test
 
 get-orig-source:
-	uscan --force-download --download-version $(DEB_UPSTREAM_VERSION)
+	uscan --force-download --download-current-version

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libitext5-java.git



More information about the pkg-java-commits mailing list