* Use --target noarch instead of --target=noarch when building rpms.

The latter used to work, but no longer does, due to some change in rpm or
     popt. It also has to come after the -bb.
   * Trap stderr of rpm and debian/rules building packages, and only display if
     the build fails.
This commit is contained in:
joey
2002-01-04 21:12:41 +00:00
parent 15f7f75dfd
commit ea55014024
4 changed files with 15 additions and 6 deletions

View File

@@ -422,7 +422,7 @@ sub build {
my $this=shift;
chdir $this->unpacked_tree;
my $log=`debian/rules binary`;
my $log=`debian/rules binary 2>&1`;
if ($?) {
die "Package build failed. Here's the log:\n", $log;
}