diff -pruN 0.001002-3/debian/README.source 0.001002-4/debian/README.source
--- 0.001002-3/debian/README.source	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/README.source	1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
-CDBS+git-buildpackage
----------------------
-
-This source package uses CDBS and git-buildpackage.  NMUs need not (but
-are encouraged to) make special use of these tools.  In particular, the
-debian/control.in file can be completely ignored.
-
-More info here: http://wiki.debian.org/CDBS+git-buildpackage
-
-
- -- Jonas Smedegaard <dr@jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
diff -pruN 0.001002-3/debian/changelog 0.001002-4/debian/changelog
--- 0.001002-3/debian/changelog	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/changelog	2025-08-14 10:45:52.000000000 +0000
@@ -1,3 +1,10 @@
+libplack-middleware-logwarn-perl (0.001002-4) unstable; urgency=medium
+
+  * Team upload.
+  * Replace CDBS with DebHelper 13
+
+ -- Alexandre Detiste <tchet@debian.org>  Thu, 14 Aug 2025 12:45:52 +0200
+
 libplack-middleware-logwarn-perl (0.001002-3) unstable; urgency=medium
 
   * Team upload.
diff -pruN 0.001002-3/debian/clean 0.001002-4/debian/clean
--- 0.001002-3/debian/clean	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/clean	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-Makefile.old
diff -pruN 0.001002-3/debian/compat 0.001002-4/debian/compat
--- 0.001002-3/debian/compat	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/compat	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-10
diff -pruN 0.001002-3/debian/control 0.001002-4/debian/control
--- 0.001002-3/debian/control	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/control	2025-08-14 10:45:52.000000000 +0000
@@ -1,16 +1,13 @@
 Source: libplack-middleware-logwarn-perl
 Section: perl
 Priority: optional
-Build-Depends: cdbs,
- devscripts,
- perl,
- debhelper,
- dh-buildinfo,
+Build-Depends:
+ debhelper-compat (= 13),
  libplack-perl,
  libtest-deep-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
 Uploaders: Jonas Smedegaard <dr@jones.dk>
-Standards-Version: 3.9.7
+Standards-Version: 4.7.2
 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libplack-middleware-logwarn-perl.git
 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libplack-middleware-logwarn-perl
 Homepage: https://metacpan.org/pod/Plack::Middleware::LogWarn
@@ -18,7 +15,8 @@ Testsuite: autopkgtest-pkg-perl
 
 Package: libplack-middleware-logwarn-perl
 Architecture: all
-Depends: ${cdbs:Depends},
+Depends:
+ libplack-perl,
  ${misc:Depends},
  ${perl:Depends}
 Description: converts warnings to log messages
diff -pruN 0.001002-3/debian/control.in 0.001002-4/debian/control.in
--- 0.001002-3/debian/control.in	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/control.in	1970-01-01 00:00:00.000000000 +0000
@@ -1,33 +0,0 @@
-Source: libplack-middleware-logwarn-perl
-Section: perl
-Priority: optional
-Build-Depends: cdbs,
- devscripts,
- perl,
- debhelper (>= 10~),
- dh-buildinfo,
- libplack-perl,
- libtest-deep-perl
-Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
-Uploaders: Jonas Smedegaard <dr@jones.dk>
-Standards-Version: 3.9.7
-Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libplack-middleware-logwarn-perl
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libplack-middleware-logwarn-perl.git
-Homepage: https://metacpan.org/pod/Plack::Middleware::LogWarn
-Testsuite: autopkgtest-pkg-perl
-
-Package: libplack-middleware-logwarn-perl
-Architecture: all
-Depends: ${cdbs:Depends},
- ${misc:Depends},
- ${perl:Depends}
-Description: converts warnings to log messages
- Plack::Middleware::LogWarn is a Plack::Middleware component that will
- help you get warnings into a logger. You probably want to use some sort
- of real logging system such as Log::Log4perl and another
- Plack::Middleware such as Plack::Middleware::Log4perl.
- .
- Plack is a set of tools similar to Ruby's Rack or Python's Paste for
- WSGI. It implements the Perl Server Gateway Interface (PSGI) standard
- interface, which allows developers to decouple their web application
- framework from the local web server environment.
diff -pruN 0.001002-3/debian/copyright_hints 0.001002-4/debian/copyright_hints
--- 0.001002-3/debian/copyright_hints	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/copyright_hints	1970-01-01 00:00:00.000000000 +0000
@@ -1,42 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: FIXME
-Upstream-Contact: FIXME
-Source: FIXME
-Disclaimer: Autogenerated by CDBS
-
-Files: Changes
- MANIFEST
- META.json
- Makefile.PL
- debian/README.source
- debian/compat
- debian/control
- debian/control.in
- debian/gbp.conf
- debian/source/format
- debian/source/lintian-overrides
- debian/watch
- dist.ini
- t/basic.t
- t/release-pod-syntax.t
-Copyright: *No copyright*
-License: UNKNOWN
- FIXME
-
-Files: README
- lib/Plack/Middleware/LogWarn.pm
-Copyright: 2011, Geoffrey Darling
-  AND LICENSE
-License: UNKNOWN
- FIXME
-
-Files: LICENSE
-Copyright: 2011, Geoffrey Darling
-License: Artistic-1.0 GPL (vever)
- FIXME
-
-Files: debian/rules
-Copyright: 2016, Jonas Smedegaard <dr@jones.dk>
-License: GPL-3+
- FIXME
-
diff -pruN 0.001002-3/debian/rules 0.001002-4/debian/rules
--- 0.001002-3/debian/rules	2024-03-07 18:03:14.000000000 +0000
+++ 0.001002-4/debian/rules	2025-08-14 10:45:52.000000000 +0000
@@ -1,40 +1,4 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright 2016, Jonas Smedegaard <dr@jones.dk>
-# Description: Main Debian packaging script for Plack::Middleware::LogWarn
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-include /usr/share/cdbs/1/rules/upstream-tarball.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/perl-makemaker.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-
-pkg = $(DEB_SOURCE_PACKAGE)
-
-DEB_UPSTREAM_PACKAGE = Plack-Middleware-LogWarn
-DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Plack
-
-# Build-depend unversioned on debhelper
-#  TODO: Drop when adopted in cdbs
-CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
-
-# Needed by upstream build and (always) at runtime
-deps = libplack-perl
-
-# Needed by upstream testsuite
-bdeps-test = libtest-deep-perl
-
-CDBS_BUILD_DEPENDS +=, $(deps), $(bdeps-test)
-CDBS_DEPENDS_$(pkg) = $(deps)
+%:
+	dh $@
