diff -pruN 2.2.0-3/debian/changelog 2.2.0-4/debian/changelog
--- 2.2.0-3/debian/changelog	2022-01-05 22:57:29.000000000 +0000
+++ 2.2.0-4/debian/changelog	2022-10-01 17:11:03.000000000 +0000
@@ -1,3 +1,10 @@
+kmerresistance (2.2.0-4) unstable; urgency=medium
+
+  * d/watch: switch to git mode following changes in bitbucket.
+  * d/control: declare compliance to standards version 4.6.1.
+
+ -- Étienne Mollier <emollier@debian.org>  Sat, 01 Oct 2022 19:11:03 +0200
+
 kmerresistance (2.2.0-3) unstable; urgency=medium
 
   * d/control: build depends on kma; this is not a real build dependency,
diff -pruN 2.2.0-3/debian/control 2.2.0-4/debian/control
--- 2.2.0-3/debian/control	2022-01-05 22:57:22.000000000 +0000
+++ 2.2.0-4/debian/control	2022-10-01 17:11:03.000000000 +0000
@@ -6,7 +6,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                kma
-Standards-Version: 4.6.0
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/med-team/kmerresistance
 Vcs-Git: https://salsa.debian.org/med-team/kmerresistance.git
 Homepage: https://bitbucket.org/genomicepidemiology/kmerresistance
diff -pruN 2.2.0-3/debian/watch 2.2.0-4/debian/watch
--- 2.2.0-3/debian/watch	2021-08-23 21:47:46.000000000 +0000
+++ 2.2.0-4/debian/watch	2022-10-01 17:11:03.000000000 +0000
@@ -1,3 +1,5 @@
 version=4
 
-https://bitbucket.org/genomicepidemiology/kmerresistance/downloads/?tab=tags .*/@ANY_VERSION@@ARCHIVE_EXT@
+opts="mode=git,dversionmangle=auto" \
+https://bitbucket.org/genomicepidemiology/kmerresistance.git \
+refs/tags/([\d\.\d]+)
