diff options
author | Michael Scherer <misc@mandriva.com> | 2005-02-12 19:27:52 +0000 |
---|---|---|
committer | Michael Scherer <misc@mandriva.com> | 2005-02-12 19:27:52 +0000 |
commit | 7e73440138508840a3eef740f3541ae3770bfe20 (patch) | |
tree | 0cfe57a28db628df67a416968d07e42447254079 | |
parent | 73ad3229acf851e0be67bd77ed5ab53dd251f47b (diff) | |
download | bootsplash-7e73440138508840a3eef740f3541ae3770bfe20.tar bootsplash-7e73440138508840a3eef740f3541ae3770bfe20.tar.gz bootsplash-7e73440138508840a3eef740f3541ae3770bfe20.tar.bz2 bootsplash-7e73440138508840a3eef740f3541ae3770bfe20.tar.xz bootsplash-7e73440138508840a3eef740f3541ae3770bfe20.zip |
- use new bzme option in rpmbuildupdate to force compression
-rwxr-xr-x | rpmbuildupdate | 4 |
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 |