diff -pruN 1.15-1/debian/changelog 1.15-2/debian/changelog
--- 1.15-1/debian/changelog	2020-10-18 16:01:16.000000000 +0000
+++ 1.15-2/debian/changelog	2025-09-03 18:08:51.000000000 +0000
@@ -1,3 +1,20 @@
+libdata-javascript-perl (1.15-2) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Debian Janitor ]
+  * Update standards version to 4.5.1, no changes needed.
+  * Update standards version to 4.6.1, no changes needed.
+
+  [ gregor herrmann ]
+  * Drop debian/upstream/metadata, the GitHub repo is gone.
+  * Add patch to fix warnings with Perl 5.42. (Closes: #1113873)
+  * Declare compliance with Debian Policy 4.7.2.
+  * Remove «Rules-Requires-Root: no», which is the current default.
+  * Remove «Priority: optional», which is the current default.
+
+ -- gregor herrmann <gregoa@debian.org>  Wed, 03 Sep 2025 20:08:51 +0200
+
 libdata-javascript-perl (1.15-1) unstable; urgency=medium
 
   * Team upload.
diff -pruN 1.15-1/debian/control 1.15-2/debian/control
--- 1.15-1/debian/control	2020-10-18 16:01:16.000000000 +0000
+++ 1.15-2/debian/control	2025-09-03 18:08:51.000000000 +0000
@@ -1,26 +1,28 @@
 Source: libdata-javascript-perl
+Standards-Version: 4.7.2
 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
-Uploaders: Ansgar Burchardt <ansgar@debian.org>
+Uploaders:
+ Ansgar Burchardt <ansgar@debian.org>,
 Section: perl
 Testsuite: autopkgtest-pkg-perl
-Priority: optional
-Build-Depends: debhelper-compat (= 13)
-Build-Depends-Indep: libmodern-perl-perl <!nocheck>,
-                     libreadonly-perl <!nocheck>,
-                     libtest2-suite-perl <!nocheck>,
-                     perl
-Standards-Version: 4.5.0
+Build-Depends:
+ debhelper-compat (= 13),
+Build-Depends-Indep:
+ libmodern-perl-perl <!nocheck>,
+ libreadonly-perl <!nocheck>,
+ libtest2-suite-perl <!nocheck>,
+ perl,
 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdata-javascript-perl
 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdata-javascript-perl.git
 Homepage: https://metacpan.org/release/Data-JavaScript
-Rules-Requires-Root: no
 
 Package: libdata-javascript-perl
 Architecture: all
-Depends: ${misc:Depends},
-         ${perl:Depends},
-         libmodern-perl-perl,
-         libreadonly-perl
+Depends:
+ ${misc:Depends},
+ ${perl:Depends},
+ libmodern-perl-perl,
+ libreadonly-perl,
 Description: module to dump perl data structures into JavaScript code
  Data::JavaScript is mainly intended for CGI programming, when a perl script
  generates a page with client side JavaScript code that needs access to
diff -pruN 1.15-1/debian/patches/perl-5.42-precedence.patch 1.15-2/debian/patches/perl-5.42-precedence.patch
--- 1.15-1/debian/patches/perl-5.42-precedence.patch	1970-01-01 00:00:00.000000000 +0000
+++ 1.15-2/debian/patches/perl-5.42-precedence.patch	2025-09-03 18:08:51.000000000 +0000
@@ -0,0 +1,20 @@
+Description: Fix warning with perl 5.42
+ Possible precedence problem between ! and numeric lt (<) at /build/libdata-javascript-perl-1.15/blib/lib/Data/JavaScript.pm line 25.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/1113873
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2025-09-03
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=169509
+Bug: https://rt.cpan.org/Ticket/Display.html?id=169509
+
+--- a/lib/Data/JavaScript.pm
++++ b/lib/Data/JavaScript.pm
+@@ -22,7 +22,7 @@
+ # This is a context variable which holds on to configs.
+ my %opt = ( JS => $JSCOMPAT_DEFAULT_VERSION );  # TODO: This is super out-dated.
+ 
+-if ( !$] < $MIN_ENCODE_REQUIRE_BREAKPOINT ) { require Encode; }
++if ( $] >= $MIN_ENCODE_REQUIRE_BREAKPOINT ) { require Encode; }
+ 
+ sub import {
+   my ( $package, @args ) = @_;
diff -pruN 1.15-1/debian/patches/series 1.15-2/debian/patches/series
--- 1.15-1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ 1.15-2/debian/patches/series	2025-09-03 18:08:51.000000000 +0000
@@ -0,0 +1 @@
+perl-5.42-precedence.patch
diff -pruN 1.15-1/debian/upstream/metadata 1.15-2/debian/upstream/metadata
--- 1.15-1/debian/upstream/metadata	2020-10-18 16:01:16.000000000 +0000
+++ 1.15-2/debian/upstream/metadata	1970-01-01 00:00:00.000000000 +0000
@@ -1,6 +0,0 @@
----
-Archive: CPAN
-Bug-Database: https://github.com/manchicken/data-javascript/issues
-Bug-Submit: https://github.com/manchicken/data-javascript/issues/new
-Repository: https://github.com/manchicken/data-javascript.git
-Repository-Browse: https://github.com/manchicken/data-javascript
