[Parted-maintainers] Bug#1063216: parted: NMU diff for 64-bit time_t transition
Colin Watson
cjwatson at debian.org
Mon Feb 5 18:32:51 GMT 2024
On Mon, Feb 05, 2024 at 03:08:55PM -0300, Lucas Kanashiro wrote:
> diff -Nru parted-3.6/debian/libparted-fs-resize0t64.maintscript parted-3.6/debian/libparted-fs-resize0t64.maintscript
> --- parted-3.6/debian/libparted-fs-resize0t64.maintscript 1969-12-31 21:00:00.000000000 -0300
> +++ parted-3.6/debian/libparted-fs-resize0t64.maintscript 2023-06-26 19:34:57.000000000 -0300
> @@ -0,0 +1 @@
> +dir_to_symlink /usr/share/doc/libparted-fs-resize0 libparted2 3.5-2~
Does this need to be /usr/share/doc/libparted-fs-resize0t64 instead?
(Alternatively, maybe this .maintscript file can just be dropped, since
the new directory name won't need to be switched to a symlink.)
> diff -Nru parted-3.6/debian/rules parted-3.6/debian/rules
> --- parted-3.6/debian/rules 2023-06-26 19:34:57.000000000 -0300
> +++ parted-3.6/debian/rules 2024-02-05 14:58:17.000000000 -0300
> @@ -69,18 +69,18 @@
> dh_install -pparted-udeb -plibparted2-udeb -plibparted-fs-resize0-udeb --sourcedir=debian/tmp-udeb
>
> override_dh_installdocs-arch:
> - dh_installdocs --link-doc=libparted2
> + dh_installdocs --link-doc=libparted2t64
>
> override_dh_installdocs-indep:
> - dh_installdocs -pparted-doc --doc-main-package=libparted2
> + dh_installdocs -pparted-doc --doc-main-package=libparted2t64
> dh_installdocs --remaining-packages
>
> override_dh_strip:
> - dh_strip -plibparted2 --ddeb-migration='libparted2-dbg (<< 3.2-11~)'
> - dh_strip -plibparted-fs-resize0 \
> + dh_strip -plibparted2t64 --ddeb-migration='libparted2-dbg (<< 3.2-11~)'
> + dh_strip -plibparted-fs-resize0t64 \
> --ddeb-migration='libparted-fs-resize0-dbg (<< 3.2-11~)'
Is the --ddeb-migration option here still needed? Presumably it won't
have any common files with the old -dbg package any more (the file names in
/usr/lib/debug/ change all the time, and the only other common file was
/usr/share/doc/libparted-fs-resize0-dbgsym).
In fact, since 3.2-11 was before oldoldstable, I'm just going to remove
this override_dh_strip rule entirely, as it isn't needed any more:
https://salsa.debian.org/parted-team/parted/-/commit/2ede9a43a0cb5e5abb52cd3c519769ad9d8d489d
Thanks,
--
Colin Watson (he/him) [cjwatson at debian.org]
More information about the Parted-maintainers
mailing list