Control: tags -1 + patch

On 2019-02-16 18:01 +0100, Sven Joachim wrote:

> Package: postfix
> Version: 3.3.2-3
>
> Thanks for finally fixing #908545 and stopping to ship makedefs.out as a
> conffile.  However, there is a problem with it: the version in
> debian/postfix.mainstscript is way too low, and so the obsolete conffile
> remains on the system when upgrading from buster or sid.

Attached is a patch for that, untested because of #922477.  Note that
the assumption is that you apply it in the next upload, otherwise the
version will have to be adjusted further.  See
dpkg-maintscript-helper(1):

,----
|      If  the conffile has not been shipped for several versions,
|      and you are now modifying the maintainer scripts  to  clean
|      up  the obsolete file, prior-version should be based on the
|      version of the package that you are now preparing, not  the
|      first version of the package that lacked the conffile. This
|      applies to all other actions in the same way.
`----

Cheers,
       Sven

>From b9744df4dfc81c82c5d8db1a265cb2e9944ef588 Mon Sep 17 00:00:00 2001
From: Sven Joachim <[email protected]>
Date: Sat, 16 Feb 2019 18:13:34 +0100
Subject: [PATCH] Bump version in debian/postfix.maintscript

Closes: #922475
---
 debian/postfix.maintscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postfix.maintscript b/debian/postfix.maintscript
index 7a81ec99..057c175e 100644
--- a/debian/postfix.maintscript
+++ b/debian/postfix.maintscript
@@ -1,2 +1,2 @@
 # moved to sharedir to not bother users with conffile prompts
-rm_conffile /etc/postfix/makedefs.out 3.2.4-2~ postfix
+rm_conffile /etc/postfix/makedefs.out 3.3.2-4~ postfix
-- 
2.20.1

Reply via email to