File drop-tar-option.patch of Package update-alternatives.22884

diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-dpkg-1.18.23/scripts/Dpkg/Source/Archive.pm ./scripts/Dpkg/Source/Archive.pm
--- ../orig-dpkg-1.18.23/scripts/Dpkg/Source/Archive.pm	2017-02-22 22:50:39.000000000 +0100
+++ ./scripts/Dpkg/Source/Archive.pm	2017-12-09 09:59:34.985938649 +0100
@@ -51,8 +51,8 @@
     my $mtime = $opts{source_date} // $ENV{SOURCE_DATE_EPOCH} || time;
     # Call tar creation process
     $spawn_opts{delete_env} = [ 'TAR_OPTIONS' ];
-    $spawn_opts{exec} = [ $Dpkg::PROGTAR, '-cf', '-', '--format=gnu', '--sort=name',
-                          '--mtime', "\@$mtime", '--clamp-mtime', '--null',
+    $spawn_opts{exec} = [ $Dpkg::PROGTAR, '-cf', '-', '--format=gnu',
+                          '--mtime', "\@$mtime", '--null',
                           '--numeric-owner', '--owner=0', '--group=0',
                           @{$opts{options}}, '-T', '-' ];
     *$self->{pid} = spawn(%spawn_opts);
openSUSE Build Service is sponsored by