diff -Nru ubuntu-proxy-manager-0.1.1/debian/changelog ubuntu-proxy-manager-0.1.1~22.04.1/debian/changelog --- ubuntu-proxy-manager-0.1.1/debian/changelog 2024-04-23 14:39:44.000000000 +0300 +++ ubuntu-proxy-manager-0.1.1~22.04.1/debian/changelog 2024-04-23 14:55:23.000000000 +0300 @@ -1,3 +1,11 @@ +ubuntu-proxy-manager (0.1.1~22.04.1) jammy; urgency=medium + + * Backport to Jammy (LP: #2048232) + - Disable dh_dwz on account of go >= 1.19 compressing symbols itself + (fixed in newer dh_golang) + + -- Gabriel Nagy Tue, 23 Apr 2024 14:55:23 +0300 + ubuntu-proxy-manager (0.1.1) noble; urgency=medium * Build with Go 1.22 diff -Nru ubuntu-proxy-manager-0.1.1/debian/control ubuntu-proxy-manager-0.1.1~22.04.1/debian/control --- ubuntu-proxy-manager-0.1.1/debian/control 2024-04-23 14:39:44.000000000 +0300 +++ ubuntu-proxy-manager-0.1.1~22.04.1/debian/control 2024-04-23 14:55:23.000000000 +0300 @@ -4,7 +4,7 @@ Maintainer: Ubuntu Developers Build-Depends: debhelper-compat (= 13), dh-golang, - golang-go (>= 2:1.22~), + golang-1.22-go, dbus, Standards-Version: 4.6.2 XS-Go-Import-Path: github.com/ubuntu/ubuntu-proxy-manager diff -Nru ubuntu-proxy-manager-0.1.1/debian/rules ubuntu-proxy-manager-0.1.1~22.04.1/debian/rules --- ubuntu-proxy-manager-0.1.1/debian/rules 2024-04-23 14:39:44.000000000 +0300 +++ ubuntu-proxy-manager-0.1.1~22.04.1/debian/rules 2024-04-23 14:55:23.000000000 +0300 @@ -6,6 +6,9 @@ export DEB_BUILD_MAINT_OPTIONS := optimize=-lto +# Run with Go 1.22 +export PATH := /usr/lib/go-1.22/bin/:$(PATH) + %: dh $@ --buildsystem=golang --with=golang @@ -23,3 +26,5 @@ # Install in libexec mv debian/ubuntu-proxy-manager/usr/bin debian/ubuntu-proxy-manager/usr/libexec + +override_dh_dwz: