Skip to content
Snippets Groups Projects
Commit 0036a00e authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

misc changes

parent 3b160cbd
No related branches found
No related tags found
No related merge requests found
Package: libgg-aix-pm-perl Package: libgg-aix-pm-perl
Version: 0.8-1 Version: 0.9-1
Architecture: all Architecture: all
Maintainer: Gerhard Gonter <ggonter@gmail.com> Maintainer: Gerhard Gonter <ggonter@gmail.com>
Original-Maintainer: Gerhard Gonter <ggonter@gmail.com> Original-Maintainer: Gerhard Gonter <ggonter@gmail.com>
Installed-Size: 629 Installed-Size: 629
Depends: perl, libjson-perl, libjson-xs-perl, libfile-slurper-perl Depends: perl, libjson-perl, libjson-xs-perl, libfile-slurper-perl, libdatetime-perl
Section: perl Section: perl
Priority: optional Priority: optional
Homepage: http://aix-pm.sourceforge.net/ Homepage: http://aix-pm.sourceforge.net/
......
Package: gg-aix-pm-scripts Package: gg-aix-pm-scripts
Version: 0.6-1 Version: 0.7-1
Architecture: all Architecture: all
Maintainer: Gerhard Gonter <ggonter@gmail.com> Maintainer: Gerhard Gonter <ggonter@gmail.com>
Original-Maintainer: Gerhard Gonter <ggonter@gmail.com> Original-Maintainer: Gerhard Gonter <ggonter@gmail.com>
......
...@@ -21,6 +21,7 @@ while (my $arg= shift (@ARGV)) ...@@ -21,6 +21,7 @@ while (my $arg= shift (@ARGV))
my ($opt, $val)= split('=', $1); my ($opt, $val)= split('=', $1);
if ($opt eq 'arch') { $pkg_arch= $val || shift(@ARGV); } if ($opt eq 'arch') { $pkg_arch= $val || shift(@ARGV); }
elsif ($opt eq 'compress-suffix') { $compress_suffix= $val || shift(@ARGV); } elsif ($opt eq 'compress-suffix') { $compress_suffix= $val || shift(@ARGV); }
elsif ($opt =~ m#^(gz|xz|zst)$#) { $compress_suffix= $opt; }
else { usage(); } else { usage(); }
} }
elsif ($arg =~ /^-/) elsif ($arg =~ /^-/)
...@@ -114,7 +115,7 @@ sub mk_package ...@@ -114,7 +115,7 @@ sub mk_package
my $data_compressed; my $data_compressed;
if ($compress_suffix eq 'zst') if ($compress_suffix eq 'zst')
{ {
cmd(qw(xz -z control.tar data.tar)); cmd(qw(zstd -z control.tar data.tar));
$control_compressed= 'control.tar.zst'; $control_compressed= 'control.tar.zst';
$data_compressed= 'data.tar.zst'; $data_compressed= 'data.tar.zst';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment