From 7e73440138508840a3eef740f3541ae3770bfe20 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 12 Feb 2005 19:27:52 +0000 Subject: - use new bzme option in rpmbuildupdate to force compression --- rpmbuildupdate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpmbuildupdate b/rpmbuildupdate index 1724e8a..d500a70 100755 --- a/rpmbuildupdate +++ b/rpmbuildupdate @@ -60,7 +60,7 @@ sub download { my $temp = basename($url); print "Trying to fetch $url...\n"; system("$wget $url;"); - -f $temp && ! is_html($temp) && $temp !~ /.bz2$/ && system_die("bzme $temp", "Cannot convert $temp"); + -f $temp && ! is_html($temp) && $temp !~ /.bz2$/ && system_die("bzme -F $temp", "Cannot convert $temp"); } sub fetch { @@ -349,7 +349,7 @@ sub build { if (! -f "$config{sourcedir}/$basename") { (my $bname = $basename) =~ s/bz2/gz/; print "Trying from fedora($bname): $config{fedora}/$pkgrpmrh\n"; - system("cd $config{sourcedir}; rpm2cpio $config{fedora}/$pkgrpmrh | cpio -id $bname; bzme $bname", "rpm recompression failed"); + system("cd $config{sourcedir}; rpm2cpio $config{fedora}/$pkgrpmrh | cpio -id $bname; bzme -F $bname", "rpm recompression failed"); } } # download from sourceforge mirrors -- cgit v1.2.1