diff -pruN 2.004.015-1/debian/changelog 2.004.015-2/debian/changelog
--- 2.004.015-1/debian/changelog	2018-08-30 02:04:11.000000000 +0000
+++ 2.004.015-2/debian/changelog	2025-09-24 18:25:51.000000000 +0000
@@ -1,3 +1,36 @@
+libgearman-client-perl (2.004.015-2) unstable; urgency=medium
+
+  * Team upload.
+
+  [ gregor herrmann ]
+  * debian/watch: use uscan version 4.
+
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Submit.
+  * Remove obsolete field Name from debian/upstream/metadata (already present in
+    machine-readable debian/copyright).
+  * Remove constraints unnecessary since buster
+  * Bump debhelper from old 12 to 13.
+
+  [ Alexandre Mestiashvili ]
+  * d/control:
+   - update policy to 4.7.2
+   - remove dual dependency on perl|libio..
+   - remove Priority: optional field, since it is the default
+  * Apply cme fix dpkg, remove Contact field from d/upstream/metadata
+  * Update d/copyright, add myself
+  * d/patches, rename gearmand to gearmand-perl, affected by #1076226
+  * d/patches, add patch fixing a typo
+
+  [ gregor herrmann ]
+  * Update years of packaging copyright.
+  * Annotate test-only build dependencies with <!nocheck>.
+
+ -- gregor herrmann <gregoa@debian.org>  Wed, 24 Sep 2025 20:25:51 +0200
+
 libgearman-client-perl (2.004.015-1) unstable; urgency=medium
 
   [ gregor herrmann ]
@@ -149,4 +182,3 @@ libgearman-client-perl (1.09-1) unstable
   * Initial release (Closes: #429354)
 
  -- Pascal Hakim <pasc@debian.org>  Thu, 23 Aug 2007 23:14:50 +1000
-
diff -pruN 2.004.015-1/debian/compat 2.004.015-2/debian/compat
--- 2.004.015-1/debian/compat	2018-08-30 02:04:11.000000000 +0000
+++ 2.004.015-2/debian/compat	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-10
diff -pruN 2.004.015-1/debian/control 2.004.015-2/debian/control
--- 2.004.015-1/debian/control	2018-08-30 02:04:11.000000000 +0000
+++ 2.004.015-2/debian/control	2025-09-24 18:25:51.000000000 +0000
@@ -1,37 +1,38 @@
 Source: libgearman-client-perl
+Standards-Version: 4.7.2
 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
-Uploaders: Nick Morrott <knowledgejunkie@gmail.com>
+Uploaders:
+ Nick Morrott <knowledgejunkie@gmail.com>,
 Section: perl
 Testsuite: autopkgtest-pkg-perl
-Priority: optional
-Build-Depends: debhelper (>= 10)
-Build-Depends-Indep: gearman-server,
-                     libfile-which-perl,
-                     libio-socket-ssl-perl,
-                     liblist-moreutils-perl,
-                     libproc-guard-perl,
-                     libstring-crc32-perl,
-                     libtest-exception-perl,
-                     libtest-tcp-perl (>= 2.17),
-                     libtest-timer-perl,
-                     netbase,
-                     perl (>= 5.19.8) | libio-socket-ip-perl,
-                     perl
-Build-Conflicts: gearman-server (<< 1.11)
-Standards-Version: 4.2.1
+Build-Depends:
+ debhelper-compat (= 13),
+Build-Depends-Indep:
+ gearman-server <!nocheck>,
+ libfile-which-perl <!nocheck>,
+ libio-socket-ip-perl <!nocheck>,
+ libio-socket-ssl-perl <!nocheck>,
+ liblist-moreutils-perl <!nocheck>,
+ libproc-guard-perl <!nocheck>,
+ libstring-crc32-perl <!nocheck>,
+ libtest-exception-perl <!nocheck>,
+ libtest-tcp-perl <!nocheck>,
+ libtest-timer-perl <!nocheck>,
+ netbase <!nocheck>,
+ perl,
 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libgearman-client-perl
 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libgearman-client-perl.git
 Homepage: https://metacpan.org/release/Gearman
 
 Package: libgearman-client-perl
 Architecture: all
-Depends: ${misc:Depends},
-         ${perl:Depends},
-         libio-socket-ssl-perl,
-         liblist-moreutils-perl,
-         libstring-crc32-perl,
-         perl (>= 5.19.8) | libio-socket-ip-perl
-Breaks: gearman-server (<< 1.11)
+Depends:
+ ${misc:Depends},
+ ${perl:Depends},
+ libio-socket-ip-perl,
+ libio-socket-ssl-perl,
+ liblist-moreutils-perl,
+ libstring-crc32-perl,
 Description: client for the Gearman distributed job system
  Gearman is a system to farm out work to other machines, dispatching function
  calls to machines that are better suited to do work, to do work in parallel,
diff -pruN 2.004.015-1/debian/copyright 2.004.015-2/debian/copyright
--- 2.004.015-1/debian/copyright	2018-08-30 02:04:11.000000000 +0000
+++ 2.004.015-2/debian/copyright	2025-09-24 18:25:51.000000000 +0000
@@ -11,7 +11,8 @@ Files: debian/*
 Copyright: 2007, Pascal Hakim <pasc@debian.org>
  2010, Jonathan Yu <jawnsy@cpan.org>
  2011, Richard Wallman <wallmari@bossolutions.co.uk>
- 2013-2018, gregor herrmann <gregoa@debian.org>
+ 2025, Alexandre Mestiashvili <mestia@debian.org>
+ 2013-2025, gregor herrmann <gregoa@debian.org>
 License: Artistic or GPL-1+
 
 License: Artistic
diff -pruN 2.004.015-1/debian/patches/gearman-server_rename.patch 2.004.015-2/debian/patches/gearman-server_rename.patch
--- 2.004.015-1/debian/patches/gearman-server_rename.patch	1970-01-01 00:00:00.000000000 +0000
+++ 2.004.015-2/debian/patches/gearman-server_rename.patch	2025-09-24 18:25:51.000000000 +0000
@@ -0,0 +1,16 @@
+Description: Gearman server_rename
+Bug-Debian: https://bugs.debian.org/1076226
+Forwarded: not-needed
+Origin: vendor
+Last-Update: 2025-09-19
+--- libgearman-client-perl.orig/t/Server.pm
++++ libgearman-client-perl/t/Server.pm
+@@ -30,7 +30,7 @@
+         $self->{_servers} = [split ',', $ENV{GEARMAND_ADDR}];
+     }
+     else {
+-        my $daemon = "gearmand";
++        my $daemon = "gearmand-perl";
+         my $bin = $ENV{GEARMAND_PATH} || File::Which::which($daemon);
+ 
+         unless ($bin) {
diff -pruN 2.004.015-1/debian/patches/series 2.004.015-2/debian/patches/series
--- 2.004.015-1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ 2.004.015-2/debian/patches/series	2025-09-24 18:25:51.000000000 +0000
@@ -0,0 +1,2 @@
+typo.patch
+gearman-server_rename.patch
diff -pruN 2.004.015-1/debian/patches/typo.patch 2.004.015-2/debian/patches/typo.patch
--- 2.004.015-1/debian/patches/typo.patch	1970-01-01 00:00:00.000000000 +0000
+++ 2.004.015-2/debian/patches/typo.patch	2025-09-24 18:25:51.000000000 +0000
@@ -0,0 +1,14 @@
+From:mestia@debian.org
+Subject: fix typo s/defaul/default/
+Forwarded: no
+--- libgearman-client-perl.orig/lib/Gearman/Task.pm
++++ libgearman-client-perl/lib/Gearman/Task.pm
+@@ -124,7 +124,7 @@
+ 
+ =item
+ 
+-normal (defaul)
++normal (default)
+ 
+ =item
+ 
diff -pruN 2.004.015-1/debian/upstream/metadata 2.004.015-2/debian/upstream/metadata
--- 2.004.015-1/debian/upstream/metadata	2018-08-30 02:04:11.000000000 +0000
+++ 2.004.015-2/debian/upstream/metadata	2025-09-24 18:25:51.000000000 +0000
@@ -1,7 +1,6 @@
 ---
 Archive: CPAN
 Bug-Database: https://github.com/p-alik/perl-Gearman/issues
-Contact: Brad Fitzpatrick <brad@danga.com>
-Name: Gearman
+Bug-Submit: https://github.com/p-alik/perl-Gearman/issues/new
 Repository: https://github.com/p-alik/perl-Gearman.git
 Repository-Browse: https://github.com/p-alik/perl-Gearman
diff -pruN 2.004.015-1/debian/watch 2.004.015-2/debian/watch
--- 2.004.015-1/debian/watch	2018-08-30 02:04:11.000000000 +0000
+++ 2.004.015-2/debian/watch	2025-09-24 18:25:51.000000000 +0000
@@ -1,2 +1,2 @@
-version=3
-https://metacpan.org/release/Gearman   .*/Gearman-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+version=4
+https://metacpan.org/release/Gearman   .*/Gearman-v?@ANY_VERSION@@ARCHIVE_EXT@$
