From b9b418347f454ce7349a0e326e1915dea725d324 Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Wed, 1 Sep 2021 15:10:00 +0200 Subject: [PATCH] Sort the entries in the .ini-files. This generates the files with a constant content Bug-Debian: https://bugs.debian.org/993444 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=139175 Bug: https://rt.cpan.org/Ticket/Display.html?id=139175 Gbp-Pq: Name sort-ini-entries --- lib/XML/SAX/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/XML/SAX/Debian.pm b/lib/XML/SAX/Debian.pm index e767c73..d1297dc 100644 --- a/lib/XML/SAX/Debian.pm +++ b/lib/XML/SAX/Debian.pm @@ -31,7 +31,7 @@ sub save_parsers_debian { foreach my $p (@{ $class->parsers }) { print $fh "[$p->{Name}]\n"; - foreach my $key (keys %{$p->{Features}}) { + foreach my $key (sort keys %{$p->{Features}}) { print $fh "$key = $p->{Features}{$key}\n"; } print $fh "\n";