please avoid dpkg_late_eval in debian/rules
Aurélien COUDERC
coucouf at coucouf.fr
Wed Jul 31 11:45:58 BST 2024
Hi,
[moving to our discussions list]
Le mercredi 31 juillet 2024, 07:02:40 CEST nicolas.boulenguez at free.fr a écrit :
> Hello.
>
> Several KDE packages expand the dpkg_late_eval macro defined in
> /usr/share/dpkg/*.mk.
>
> https://codesearch.debian.net/search?q=dpkg_late_eval+file%3Adebian%2Frules&page=5&perpkg=1
>
> This macro was intended for private use only, has never been
> documented, and may soon be removed. Please consider the following
> changes or a variant.
>
> Thanks.
>
> --- a/debian/rules
> +++ b/debian/rules
> @@ -4,7 +4,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
>
> include /usr/share/dpkg/pkg-info.mk
>
> -AbiVirtualPackageVersion = $(call
> dpkg_late_eval,AbiVirtualPackageVersion,echo '${DEB_VERSION_UPSTREAM}' |
> sed -e 's/\.[0-9]\+$$//')
> +AbiVirtualPackageVersion = $(basename $(DEB_VERSION_UPSTREAM))
> pkgs_lib = $(filter-out %-dev %-dbg %-bin %-data,$(filter lib%,$(shell
> dh_listpackages)))
>
> %:
Thanks Nicolas.
@Patrick I can see this only in the PIM stack for what I have cloned on my machine.
Maybe you could address that in a future PIM upload ?
Best,
--
Aurélien
More information about the pkg-kde-talk
mailing list