aboutsummaryrefslogtreecommitdiffstats
path: root/rpmbuildupdate
diff options
context:
space:
mode:
Diffstat (limited to 'rpmbuildupdate')
-rwxr-xr-xrpmbuildupdate4
1 files 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