diff --git a/debian/changelog b/debian/changelog
index 310a312..ebe1d7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+plotsauce (0.1-2) UNRELEASED; urgency=medium
+
+ * Trim trailing whitespace.
+ * Bump debhelper from old 12 to 13.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+ * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk> Mon, 22 May 2023 11:32:27 -0000
+
plotsauce (0.1-1) unstable; urgency=medium
* Initial release (Closes: #916321)
diff --git a/debian/control b/debian/control
index 47b1851..0d0324e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: plotsauce
Section: libs
Priority: optional
Maintainer: Wookey <wookey@debian.org>
-Build-Depends: debhelper-compat (= 12), qbs, qtbase5-dev, dh-exec, libqmath3d-dev, zlib1g-dev
-Standards-Version: 4.5.0
+Build-Depends: debhelper-compat (= 13), qbs, qtbase5-dev, dh-exec, libqmath3d-dev, zlib1g-dev
+Standards-Version: 4.6.2
Rules-Requires-Root: no
Homepage: https://github.com/Cavewhere/plotsauce
Vcs-Browser: https://salsa.debian.org/wookey/plotsauce
@@ -13,5 +13,5 @@ Package: plotsauce
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Survex 3d file to XML converter
- Qt-based utility to convert Survex 3d files (cave survey data)
- into XML.
\ No newline at end of file
+ Qt-based utility to convert Survex 3d files (cave survey data)
+ into XML.
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..9f14c22
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/Cavewhere/plotsauce/issues
+Bug-Submit: https://github.com/Cavewhere/plotsauce/issues/new
+Repository-Browse: https://github.com/Cavewhere/plotsauce