fixing bug 2866, create some tmp files to avoid rpmbuild warnings
This commit is contained in:
parent
735127be0b
commit
d910e66cee
@ -1933,6 +1933,10 @@ sub build_kitcomp
|
||||
my $avoiderr = $rpmbuild_dir."/BUILDROOT/prep_".$comp->{basename};
|
||||
$avoiderr .= "-$comp->{version}-$comp->{release}.$repo{osarch}";
|
||||
mkpath($avoiderr);
|
||||
my $current_osarch = `uname -p`;
|
||||
chomp($current_osarch);
|
||||
$avoiderr = $rpmbuild_dir."/BUILDROOT/prep_".$comp->{basename}."-$comp->{version}-$comp->{release}.$current_osarch";
|
||||
mkpath($avoiderr);
|
||||
$avoiderr = $rpmbuild_dir."/BUILD/";
|
||||
mkpath($avoiderr);
|
||||
$avoiderr = $rpmbuild_dir."/SRPMS/";
|
||||
@ -1979,6 +1983,10 @@ sub build_kitcomp
|
||||
my $avoiderr = $rpmbuild_dir."/BUILDROOT/".$comp->{basename};
|
||||
$avoiderr .= "-$comp->{version}-$comp->{release}.$repo{osarch}";
|
||||
mkpath($avoiderr);
|
||||
my $current_osarch = `uname -p`;
|
||||
chomp($current_osarch);
|
||||
$avoiderr = $rpmbuild_dir."/BUILDROOT/".$comp->{basename}."-$comp->{version}-$comp->{release}.$current_osarch";
|
||||
mkpath($avoiderr);
|
||||
$avoiderr = $rpmbuild_dir."/BUILD/";
|
||||
mkpath($avoiderr);
|
||||
$avoiderr = $rpmbuild_dir."/SRPMS/";
|
||||
|
Loading…
Reference in New Issue
Block a user