* Use rpmbuild -bb instead of rpm -bb, as it seems that rpm -bb has stopped

working in recent versions of rpm, as shipped by red hat (Debian's rpm,
     confusingly, continues to support rpm -bb, possibly because of how I hack
     its popt stuff up for debian.) This may fail with older, pre-rpmbuild
     rpm's; if so you should upgrade to a more current version I guess.
   * Updated js2k patch from Gerald Turner.
This commit is contained in:
joey
2003-02-03 19:40:25 +00:00
parent 13858b3a68
commit 8b6a5ed7f8
3 changed files with 8 additions and 4 deletions

View File

@@ -331,7 +331,7 @@ to build the rpm. It defaults to rpm.
sub build {
my $this=shift;
my $buildcmd=shift || 'rpm';
my $buildcmd=shift || 'rpmbuild';
my $dir=$this->unpacked_tree || die "The package must be unpacked first!";
# Ask rpm how it's set up. We want to know what architecture it