--- builds_bin/update_repos 2008/07/01 15:02:43 1.46 +++ builds_bin/update_repos 2009/03/02 22:08:07 1.49 @@ -94,13 +94,14 @@ if ( $opts{q} ) { $baserepo->{'/mirrors/centos-qa/CentOS/~C/extras/~A/RPMS/'} = 'centos'; } -my $skippkg = { '7' => { 'centos' => { map { $_ => 1 } ( 'horde', 'imp-h3', 'ingo-h3', 'turba-h3', 'vim' ) }, +my $skippkg = { '7' => { 'centos' => { map { $_ => 1 } ( 'horde', 'imp-h3', 'ingo-h3', 'turba-h3' ) }, 'epel' => { map { $_ => 1 } ( 'clamav', 'fping', 'perl-Crypt-OpenSSL-Bignum', 'perl-Crypt-OpenSSL-Random', 'perl-Crypt-OpenSSL-RSA', 'perl-Razor-Agent', 'perl-Text-Iconv', 'proftpd' ) }, + 'fedora-extras' => { map { $_ => 1 } ( 'ddclient', 'pam_abl', 'perl-Error', 'perl-HTML-Format', 'perl-MIME-Types', 'perl-Net-IP', 'perl-Archive-Zip', 'perl-Class-Singleton', 'perl-Razor-Agent', 'perl-Test-Inline', 'perl-Text-Autoformat', 'perl-Text-Iconv', 'perl-Text-Reform', 'perl-XML-RSS' ) }, 'rpmforge' => { map { $_ => 1 } ( 'perl-Test-Inline' ) }, 'atrpms' => { map { $_ => 1 } ( 'check4updates', 'dovecot', 'trac', 'yum' ) }, }, '8' => { 'centos' => { map { $_ => 1 } ( 'horde', 'imp-h3', 'ingo-h3', 'turba-h3' ) }, - 'fedora' => { map { $_ => 1 } ( 'kernel-xen' ) }, + 'fedora' => { map { $_ => 1 } ( 'kernel', 'kernel-xen' ) }, 'epel' => { map { $_ => 1 } ( 'clamav', 'horde', 'perl-Crypt-OpenSSL-Bignum', 'perl-Crypt-OpenSSL-Random', 'perl-Crypt-OpenSSL-RSA', 'perl-Razor-Agent', 'proftpd', 'smolt' ) }, 'fedora-extras' => { map { $_ => 1 } ( 'dstat', 'gocr', 'horde', 'oidentd', 'perl-Crypt-OpenSSL-Bignum', 'perl-Crypt-OpenSSL-Random', 'perl-Crypt-OpenSSL-RSA', 'perl-Test-Inline', 'perl-Razor-Agent', 'smolt' ) }, 'rpmforge' => { map { $_ => 1 } ( 'perl-Test-Inline' ) }, @@ -407,9 +408,9 @@ foreach my $smever ( sort { $a <=> $b } print "rebuild $repo/$arch\n"; unless ( $opts{t} ) { if ( -f "$dir/repodata/comps.xml" ) { - qx(createrepo -g repodata/comps.xml $dir); + qx(createrepo --update --database --exclude *.src.rpm --exclude *-debuginfo-*.rpm --groupfile repodata/comps.xml $dir); } else { - qx(createrepo $dir); + qx(createrepo --update --database --exclude *.src.rpm --exclude *-debuginfo-*.rpm $dir); } qx(repoview $dir); qx(rm -rf $dir/.olddata) if -d "$dir/.olddata";