Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong

gregor herrmann gregoa at debian.org
Sun Apr 19 23:13:03 BST 2026


On Mon, 13 Apr 2026 16:38:06 +0200, Roland Rosenfeld wrote:

>> So yeah, we could switch dpt-fixup back to use cme (instead of
>> wrap-and-sort); this would avoid _this_ annoyance but on the other hand
>> might introduce changes which are more than just reformatting (that's
>> #1125967).
>
>If we define that "wrap-and-sort" does sorting the fields in our
>preferred order, we could add another call of
> wrap-and-sort -ast -f debian/control
>after the "cme modify dpkg-control" calls in lines 123/124.
>This isn't a very clean solution, but avoids the pingpong, since it
>always results in the order defined by wrap-and-sort.

Right, that's an option, and one that I hadn't thought of.

Probably because of the condition you mention:
"If we define that "wrap-and-sort" does sorting the fields"
and I personally tried to find something that sticks to cme's 
ordering, as I find the order used by wrap-and-sort and debputy ugly 
:)

I tried now to switch back from wrap-and-sort to
`cme modify dpkg-control -save` and run dpt-fixup on an "old" 
package, and this looks good.

#1125967 still bites us for the next step, updating 
Standards-Version; here cme will also drop Priority:optional; but we 
can keep doing this with sed.


I've pushed this change so that you and others can try it as well but 
will wait with an upload.


Cheers,
gregor


-- 
  .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
  : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
  `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
    `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20260420/551e9c74/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list