diff --git a/debian/changelog b/debian/changelog
index 9f6d668..55a9a7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+unoconv (0.7-3) UNRELEASED; urgency=medium
+
+ * Trim trailing whitespace.
+ * Update watch file format version to 4.
+ * Use set -e rather than passing -e on the shebang-line.
+ * Bump debhelper from deprecated 7 to 13.
+ * Set debhelper-compat version in Build-Depends.
+ * Change priority extra to priority optional.
+ * Update renamed lintian tag names in lintian overrides.
+
+ -- Debian Janitor <janitor@jelmer.uk> Sat, 23 Jul 2022 19:11:42 -0000
+
unoconv (0.7-2) unstable; urgency=high
* d/control: update Vcs-* fields.
@@ -173,4 +185,3 @@ unoconv (0.3-1) unstable; urgency=low
* Initial release (Closes: #444885)
-- Vincent Bernat <bernat@luffy.cx> Mon, 01 Oct 2007 20:14:53 +0200
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
index 13003b8..f3fcd2b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,8 +1,8 @@
Source: unoconv
Section: text
-Priority: extra
+Priority: optional
Maintainer: Vincent Bernat <bernat@debian.org>
-Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep: asciidoc
Standards-Version: 3.9.6
Homepage: http://dag.wieers.com/home-made/unoconv/
diff --git a/debian/postinst b/debian/postinst
index e118e85..37f010d 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
index 15542a3..09427c8 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
if [ "$1" = remove ] || [ "$1" = deconfigure ]; then
update-alternatives --quiet --remove odt2txt /usr/bin/odt2txt.unoconv
diff --git a/debian/unoconv.lintian-overrides b/debian/unoconv.lintian-overrides
index e3ec932..aec6e62 100644
--- a/debian/unoconv.lintian-overrides
+++ b/debian/unoconv.lintian-overrides
@@ -1,2 +1,2 @@
unoconv: conflicts-with-version odt2txt (<= 0.3-1)
-unoconv: manpage-has-errors-from-man
+unoconv: groff-message
diff --git a/debian/watch b/debian/watch
index 2af7e2a..12d62ea 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
http://dag.wieers.com/home-made/unoconv/ unoconv-(.*).tar.gz