From 5a4dc01ba5e6be57c612af1d8223793c9f87bfa4 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 3 Jun 2022 16:52:49 +0200 Subject: [PATCH] Drop debian/compat and switch to debhelper-compat approach Fixes: | dh_clean | dh_clean: error: Compatibility levels before 7 are no longer supported (level 5 requested) Also replace `dh_clean -k` with `dh_prep`, to then fix: | dh_clean -k | dh_clean: warning: The -k option is not supported in compat 12; use dh_prep instead | dh_clean: error: This feature was removed in compat 12. --- debian/compat | 1 - debian/control | 2 +- debian/rules | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control index 8966f86..8761a14 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: grml-tips Section: grml Priority: optional Maintainer: Michael Prokop -Build-Depends: debhelper (>= 5) +Build-Depends: debhelper-compat (= 12), Standards-Version: 3.9.5 Homepage: http://git.grml.org/?p=grml-tips.git Vcs-git: git://git.grml.org/grml-tips.git diff --git a/debian/rules b/debian/rules index 40a19ab..4977f71 100755 --- a/debian/rules +++ b/debian/rules @@ -21,7 +21,7 @@ clean: install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs usr/bin usr/share/grml-tips usr/lib/grml-tips install -m 755 grml-tips debian/grml-tips/usr/bin/grml-tips -- 2.1.4