diff -pruN 4.7.1-1/debian/changelog 4.7.1-2/debian/changelog
--- 4.7.1-1/debian/changelog	2024-02-23 15:03:48.000000000 +0000
+++ 4.7.1-2/debian/changelog	2025-11-07 07:12:57.000000000 +0000
@@ -1,3 +1,14 @@
+python-django-treebeard (4.7.1-2) unstable; urgency=medium
+
+  * Team Upload
+  * Rewrite d/rules with shorter, newer syntax
+  * Drop "Rules-Requires-Root: no": it is the default now
+  * Bump Standards-Version to 4.7.2
+  * Fix d/watch for new PyPi archive naming policy
+  * Add debian/salsa-ci.yml
+
+ -- Alexandre Detiste <tchet@debian.org>  Fri, 07 Nov 2025 08:12:57 +0100
+
 python-django-treebeard (4.7.1-1) unstable; urgency=low
 
   * New upstream version 4.7.1
diff -pruN 4.7.1-1/debian/control 4.7.1-2/debian/control
--- 4.7.1-1/debian/control	2024-02-23 15:03:48.000000000 +0000
+++ 4.7.1-2/debian/control	2025-11-07 07:12:57.000000000 +0000
@@ -6,22 +6,21 @@ Section: python
 Priority: optional
 Build-Depends:
  debhelper-compat (= 13),
+ dh-sequence-python3,
+ pybuild-plugin-pyproject,
  python3-all,
+ python3-setuptools,
+ python3-sphinx,
 Build-Depends-Indep:
- dh-sequence-python3,
  graphviz,
- pybuild-plugin-pyproject,
  python3-babel,
  python3-django (>= 2.2~),
- python3-pytest,
- python3-pytest-django,
- python3-setuptools,
- python3-sphinx,
-Standards-Version: 4.6.2
+ python3-pytest <!nocheck>,
+ python3-pytest-django <!nocheck>,
+Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/python-team/packages/python-django-treebeard
 Vcs-Git: https://salsa.debian.org/python-team/packages/python-django-treebeard.git
 Homepage: https://github.com/django-treebeard/django-treebeard
-Rules-Requires-Root: no
 
 Package: python-django-treebeard-doc
 Architecture: all
diff -pruN 4.7.1-1/debian/rules 4.7.1-2/debian/rules
--- 4.7.1-1/debian/rules	2024-02-23 15:03:48.000000000 +0000
+++ 4.7.1-2/debian/rules	2025-11-07 07:03:11.000000000 +0000
@@ -3,14 +3,12 @@
 export PYBUILD_NAME=django-treebeard
 
 %:
-	dh $@ --with=python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with=sphinxdoc --buildsystem=pybuild
 
-override_dh_auto_clean:
+execute_before_dh_auto_clean:
 	rm -rf docs/.build
-	dh_auto_clean
 
-override_dh_auto_build:
-	dh_auto_build
+execute_after_dh_auto_build:
 	set -e; \
 	for loc in treebeard/locale/*; do \
 		test -r $$loc/LC_MESSAGES/django.po && \
diff -pruN 4.7.1-1/debian/salsa-ci.yml 4.7.1-2/debian/salsa-ci.yml
--- 4.7.1-1/debian/salsa-ci.yml	1970-01-01 00:00:00.000000000 +0000
+++ 4.7.1-2/debian/salsa-ci.yml	2025-11-07 07:10:37.000000000 +0000
@@ -0,0 +1,2 @@
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
diff -pruN 4.7.1-1/debian/source/lintian-overrides 4.7.1-2/debian/source/lintian-overrides
--- 4.7.1-1/debian/source/lintian-overrides	2024-02-23 15:03:48.000000000 +0000
+++ 4.7.1-2/debian/source/lintian-overrides	2025-11-07 07:12:57.000000000 +0000
@@ -1,5 +1,5 @@
 # False positive as one large object definition has >512 chars in one line.
-python-django-treebeard source: very-long-line-length-in-source-file 1080 > 512 [treebeard/static/treebeard/treebeard-admin.js:331]
+python-django-treebeard source: very-long-line-length-in-source-file 1080 > 512 [treebeard/static/treebeard/treebeard-admin.js:*]
 # False positive as one large object definition has >512 chars in one line.
 python-django-treebeard source: source-contains-prebuilt-javascript-object [treebeard/static/treebeard/treebeard-admin.js]
 # False positive as one large object definition has >512 chars in one line.
diff -pruN 4.7.1-1/debian/watch 4.7.1-2/debian/watch
--- 4.7.1-1/debian/watch	2024-02-23 15:03:48.000000000 +0000
+++ 4.7.1-2/debian/watch	2025-11-07 07:04:33.000000000 +0000
@@ -1,3 +1,3 @@
 version=4
 opts=uversionmangle=s/(rc|a|b|c)/~$1/,repacksuffix=+dfsg,dversionmangle=s/\+dfsg$// \
-https://pypi.debian.net/django-treebeard/django-treebeard-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+https://pypi.debian.net/django-treebeard/django_treebeard-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
