;;
esac
+# remove unsupported autopkgtest restrictions
+case $distribution in buster|focal|bionic)
+ if test -f debian/tests/control && grep needs-internet debian/tests/control; then
+ sed -i -e 's/\(, \)\?needs-internet//' debian/tests/control
+ TWEAK+=("Remove needs-internet from debian/tests/control.")
+ fi
+ ;;
+esac
+
# tweaks for other packages
case $PACKAGE in
+ postgis)
+ case ${distribution:-} in
+ buster|stretch|focal|eoan|bionic|xenial)
+ sed -i -e '/proj-7.0.1.patch/d' debian/patches/series
+ TWEAK+=("Disable proj-7.0.1.patch.")
+ ;;
+ esac
+ ;;
+
prometheus-sql-exporter)
case ${distribution:-} in
bookworm|noble|mantic|jammy)