Jammy and focal still only have "tzdata"
authorChristoph Berg <myon@debian.org>
Mon, 22 Jan 2024 09:47:07 +0000 (10:47 +0100)
committerChristoph Berg <myon@debian.org>
Mon, 22 Jan 2024 09:47:07 +0000 (10:47 +0100)
Jammy and focal didn't make the tzdata-legacy split, yet they bumped the
package version numbers.

jenkins/generate-pgdg-source

index e283d4153b951253ed79dfd0a30f05ccf4d9f5bb..3bbdc41c521e74f7ec1c61fb044b971302bc7dab 100755 (executable)
@@ -196,6 +196,15 @@ case $PACKAGE in
     esac
     ;;
 esac
+case $PACKAGE in
+  postgresql-8.?|postgresql-9.?|postgresql-[1-7]?)
+    case $distribution in jammy|focal)
+      sed -i -e 's/tzdata.*/tzdata,/' debian/tests/control
+      TWEAK+=("Test-depend on tzdata.")
+      ;;
+    esac
+    ;;
+esac
 case $PACKAGE in
   postgresql-8.?|postgresql-9.?|prometheus-sql-exporter)
     case $distribution in buster)