Skip to content

Commit

Permalink
Drop debian/compat and switch to debhelper-compat approach
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mika committed Jun 3, 2022
1 parent 578d75f commit 5a4dc01
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

2 changes: 1 addition & 1 deletion debian/control
Expand Up @@ -2,7 +2,7 @@ Source: grml-tips
Section: grml
Priority: optional
Maintainer: Michael Prokop <mika@grml.org>
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
Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Expand Up @@ -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
Expand Down

0 comments on commit 5a4dc01

Please sign in to comment.