From c37cbe7808623b3e3c89c6f046f1c798ac95f6b3 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 3 Jun 2022 16:44:53 +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 0c9bc9a..a71614b 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: grml-scripts-core Section: utils Priority: optional Maintainer: Michael Prokop -Build-Depends: debhelper (>= 5), dietlibc-dev +Build-Depends: debhelper-compat (= 12), dietlibc-dev Standards-Version: 3.9.4 Homepage: http://git.grml.org/?p=grml-scripts-core.git Vcs-git: git://git.grml.org/grml-scripts-core.git diff --git a/debian/rules b/debian/rules index e3952c8..7bf915f 100755 --- a/debian/rules +++ b/debian/rules @@ -27,7 +27,7 @@ clean: install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs # Add here commands to install the package into debian/grml-scripts-core. -- 2.1.4