307 |
|
|
308 |
my $src = $pkg->{rpm}->filename; |
my $src = $pkg->{rpm}->filename; |
309 |
if ( $pkg->{nosig} ) { |
if ( $pkg->{nosig} ) { |
310 |
print "sign package (", $pkg->{repo}, ", ", basename($pkg->{rpm}->filename), ")\n"; |
print "sign package (", basename($pkg->{rpm}->filename), ")\n"; |
311 |
unless ( $opts{t} ) { |
unless ( $opts{t} ) { |
312 |
qx(cat $HOME/.rpmpass | setsid rpm --addsign $src >& /dev/null); |
qx(cat $HOME/.rpmpass | setsid rpm --addsign $src >& /dev/null); |
313 |
if ($?) { |
if ($?) { |
370 |
print "rebuild $repo/$arch\n"; |
print "rebuild $repo/$arch\n"; |
371 |
unless ( $opts{t} ) { |
unless ( $opts{t} ) { |
372 |
if ( -f "$dir/repodata/comps.xml" ) { |
if ( -f "$dir/repodata/comps.xml" ) { |
373 |
qx(createrepo -g $dir/repodata/comps.xml $dir); |
qx(createrepo -g repodata/comps.xml $dir); |
374 |
} else { |
} else { |
375 |
qx(createrepo $dir); |
qx(createrepo $dir); |
376 |
} |
} |