* Modification to match changes in rpm 4's parser; need to use

--target=noarch, rather than --target noarch.
This commit is contained in:
joey
2001-04-10 20:46:29 +00:00
parent 2f4aeceba2
commit caf849173f
2 changed files with 8 additions and 1 deletions

View File

@@ -349,7 +349,7 @@ sub build {
# This is the new command line arcgument to make noarch
# rpms. It appeared in rpm version 3.
$opts="--target noarch" if $rpmarch eq 'noarch';
$opts="--target=noarch" if $rpmarch eq 'noarch';
}
$opts.=" $ENV{RPMBUILDOPTS}" if exists $ENV{RPMBUILDOPTS};