diff --git a/debian/changelog b/debian/changelog
index e9de3e7..3937737 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+globus-authz-callout-error (4.2-3) UNRELEASED; urgency=medium
+
+ * Set debhelper-compat version in Build-Depends.
+ * Avoid explicitly specifying -Wl,--as-needed linker flag.
+ * 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> Wed, 09 Nov 2022 13:09:04 -0000
+
globus-authz-callout-error (4.2-2) unstable; urgency=medium
* Make doxygen Build-Depends-Indep
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b1bd38b..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-13
diff --git a/debian/control b/debian/control
index 2414940..b55461b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,12 @@ Source: globus-authz-callout-error
Priority: optional
Maintainer: Mattias Ellert <mattias.ellert@physics.uu.se>
Build-Depends:
- debhelper (>= 13),
+ debhelper-compat (= 13),
pkg-config,
libglobus-common-dev (>= 15)
Build-Depends-Indep:
doxygen
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
Section: net
Vcs-Browser: https://salsa.debian.org/ellert/globus-authz-callout-error
Vcs-Git: https://salsa.debian.org/ellert/globus-authz-callout-error.git
diff --git a/debian/rules b/debian/rules
index f8733f3..93a23c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
name = globus-authz-callout-error
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,defs
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
INSTALLDIR = debian/tmp
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d2afb84
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/gridcf/gct/issues
+Bug-Submit: https://github.com/gridcf/gct/issues/new
+Repository-Browse: https://github.com/gridcf/gct