]> git.pld-linux.org Git - packages/perl-MDV-Packdrakeng.git/blob - perl-MDV-Packdrakeng-xz.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-MDV-Packdrakeng.git] / perl-MDV-Packdrakeng-xz.patch
1 diff -urN MDV-Packdrakeng-1.13/lib/MDV/Packdrakeng.pm trunk/lib/MDV/Packdrakeng.pm
2 --- MDV-Packdrakeng-1.13/lib/MDV/Packdrakeng.pm 2007-08-09 13:45:44.000000000 +0200
3 +++ trunk/lib/MDV/Packdrakeng.pm        2012-12-03 13:03:18.707594579 +0100
4 @@ -148,6 +148,9 @@
5              };
6          }
7      };
8 +    $test_method =~ m/^xz|^unxz/ and do {
9 +        $pack->{compress_method} ||= "xz";
10 +    };
11      if (!$pack->{noargs}) {
12          $pack->{uncompress_method} ||= "$pack->{compress_method} -d";
13          $pack->{compress_method} = $pack->{compress_method} ? "$pack->{compress_method} -$pack->{level}" : "";
14 diff -urN MDV-Packdrakeng-1.13/Makefile.PL trunk/Makefile.PL
15 --- MDV-Packdrakeng-1.13/Makefile.PL    2007-06-05 00:32:44.000000000 +0200
16 +++ trunk/Makefile.PL   2012-12-03 13:03:18.710927913 +0100
17 @@ -18,4 +18,5 @@
18  WriteMakefile(
19      NAME        => 'MDV::Packdrakeng',
20      VERSION_FROM => 'lib/MDV/Packdrakeng.pm',
21 +    dist       => { COMPRESS => "xz -f", SUFFIX => ".xz" },
22  );
This page took 0.07667 seconds and 3 git commands to generate.