Followup-For: Bug #1035766 Control: tag -1 patch The .maintscript files are generated with an uppercase /usr/share/doc/NAME-support to be converted, that of course does not work.
Andreas
>From 14252f3d180c8ddf29449ac87d1db7b2855d0168 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann <a...@debian.org> Date: Thu, 25 May 2023 18:38:45 +0200 Subject: [PATCH] fix .maintscript generation --- debian/@lcn...@-support.maintscript.in | 2 +- debian/changelog | 7 +++++++ refresh-package | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/@lcn...@-support.maintscript.in b/debian/@lcn...@-support.maintscript.in index 773d275..40503e9 100644 --- a/debian/@lcn...@-support.maintscript.in +++ b/debian/@lcn...@-support.maintscript.in @@ -1 +1 @@ -dir_to_symlink /usr/share/doc/@NAME@-support isa-support 8~ \ No newline at end of file +dir_to_symlink /usr/share/doc/@LCNAME@-support isa-support 15.1~ diff --git a/debian/changelog b/debian/changelog index dde362f..ce3c4ac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +isa-support (15.1) UNRELEASED; urgency=medium + + * Fix .maintscript generation for /usr/share/doc/$PACKAGE -> isa-support + symlink conversion. (Closes: #1035766) + + -- Andreas Beckmann <a...@debian.org> Thu, 25 May 2023 18:35:12 +0200 + isa-support (15) unstable; urgency=high * Bug fix: "version 14 fails to install where version 13 installs fine diff --git a/refresh-package b/refresh-package index cec9240..8f6e4a9 100755 --- a/refresh-package +++ b/refresh-package @@ -15,6 +15,7 @@ sub file_replace close IN; s/[@]NAME[@]/$name/g; + s/[@]LCNAME[@]/$lcname/g; s/[@]DEB_HOST_MULTIARCH[@]/$DEB_HOST_MULTIARCH/g; open OUT, ">debian/$foutname" or die "Can't write debian/$foutname: $!\n"; -- 2.20.1