summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2022-02-17 22:48:15 +0100
committerTormod Volden <debian.tormod@gmail.com>2022-02-17 22:48:15 +0100
commit8a5da166fb4642154d1a9ef00537783692e66761 (patch)
treee4e6fb83565164db2573143abd0a94a04aeff26b
parent624320002eaaa1e16d0037552a9af3faadff847f (diff)
Bump debhelper compat level to 10
-rw-r--r--debian/compat2
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules7
3 files changed, 5 insertions, 6 deletions
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 6a77984..b7fb163 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: dfu-util
Section: electronics
Priority: extra
Maintainer: Uwe Hermann <uwe@debian.org>
-Build-Depends: debhelper (>= 9), autotools-dev, libusb-1.0-0-dev, pkg-config
+Build-Depends: debhelper (>= 10), libusb-1.0-0-dev, pkg-config, dh-exec
Standards-Version: 3.9.7
Homepage: http://dfu-util.sourceforge.net
diff --git a/debian/rules b/debian/rules
index 5a2ce97..8b90331 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,11 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -Wextra -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+%:
+ dh $@
+
override_dh_installudev:
@# Copy udev rules file into debian/ so that dh_installudev finds it.
cp doc/40-dfuse.rules debian/dfu-util.udev
dh_installudev
rm -f debian/dfu-util.udev
-
-%:
- dh $@ --with autotools_dev
-