Re-add two focal tweaks that were mistakenly already removed
authorChristoph Berg <myon@debian.org>
Fri, 6 Sep 2024 17:28:48 +0000 (19:28 +0200)
committerChristoph Berg <myon@debian.org>
Fri, 6 Sep 2024 17:28:48 +0000 (19:28 +0200)
jenkins/generate-pgdg-source

index 3f9d326d570551b8297db08a4ec4a039d468c3a4..452c277798c757ed1eec73b31ea1de1d2c27e3eb 100755 (executable)
@@ -241,8 +241,26 @@ case $PACKAGE in
     ;;
 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)