Control: tags -1 + patch

Reviewing the list of changes between debhelper compat levels 5 and 13,
the only one affecting xjdic is the removal of "dh_clean -k".  After
switching to dh_prep, the build works fine under compat level 13, and
the resulting package is identical according to diffoscope.
>From 9e987cf74a5ffeacaace0e1109605c033a04f113 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= <fbri...@fbriere.net>
Date: Sat, 25 Jul 2020 11:33:56 -0400
Subject: [PATCH] Bump debhelper compat level to 13

Closes: #965903
---
 debian/compat  | 2 +-
 debian/control | 2 +-
 debian/rules   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..b1bd38b 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+13
diff --git a/debian/control b/debian/control
index 073d769..4327646 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: xjdic
 Section: text
 Priority: optional
 Maintainer: Ludovic Drolez <ldro...@debian.org>
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>> 13~)
 Standards-Version: 3.9.6
 
 Package: xjdic
diff --git a/debian/rules b/debian/rules
index 9e08836..0796d42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,7 +56,7 @@ clean:
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	# Add here commands to install the package into debian/test-s.
-- 
2.27.0

Reply via email to