diff -Nru telegram-desktop-3.5.2+ds/debian/changelog telegram-desktop-3.5.2+ds/debian/changelog --- telegram-desktop-3.5.2+ds/debian/changelog 2022-02-10 11:02:02.000000000 +0000 +++ telegram-desktop-3.5.2+ds/debian/changelog 2022-03-01 23:15:53.000000000 +0000 @@ -1,3 +1,9 @@ +telegram-desktop (3.5.2+ds-1+rpi1) bookworm-staging; urgency=medium + + * Fix built-using generation to use source version, not binary version. + + -- Peter Michael Green Tue, 01 Mar 2022 23:15:53 +0000 + telegram-desktop (3.5.2+ds-1) unstable; urgency=medium * New upstream release (Closes: #1005255). diff -Nru telegram-desktop-3.5.2+ds/debian/rules telegram-desktop-3.5.2+ds/debian/rules --- telegram-desktop-3.5.2+ds/debian/rules 2022-01-20 09:33:52.000000000 +0000 +++ telegram-desktop-3.5.2+ds/debian/rules 2022-03-01 23:15:24.000000000 +0000 @@ -67,7 +67,7 @@ CPPLIBS_PACKAGES = libexpected-dev libmsgsl-dev librange-v3-dev libtgowt-dev EXTRA_SUBSTVARS += \ - cpplibs:Built-Using=$(shell dpkg-query -Wf '$${source:Package}(=$${Version}),' $(CPPLIBS_PACKAGES)) + cpplibs:Built-Using=$(shell dpkg-query -Wf '$${source:Package}(=$${source:Version}),' $(CPPLIBS_PACKAGES)) # Make visible all possible maintainer's flags. export DEB_BUILD_MAINT_OPTIONS $(foreach flag,$(DPKG_BUILDFLAGS_LIST),\