diff options
Diffstat (limited to 'mkrepo')
-rwxr-xr-x | mkrepo | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -48,7 +48,7 @@ fi cache=/home/rpmbuild/site/rpms/.createrepocache/$nom mkdir -p $cache check=sha256 -if [ "$dis" == "fedora" -a "$ver" -ge 27 ]; then +if [ "$dis" == "fedora" -a "$ver" -ge 99 ]; then # See: https://bugzilla.redhat.com/show_bug.cgi?id=1577747 echo "+ Nettoyage" rm -rf repodata @@ -56,7 +56,7 @@ if [ "$dis" == "fedora" -a "$ver" -ge 27 ]; then createrepo_c --workers 4 \ --cachedir $cache \ --unique-md-filenames \ - --retain-old-md 1 \ + --retain-old-md 5 \ --changelog-limit 3 \ --compress-type=bz2 \ --database $(pwd) @@ -66,17 +66,12 @@ else --cachedir $cache \ --checksum $check \ --unique-md-filenames \ + --retain-old-md 5 \ --changelog-limit 3 \ --compress-type=bz2 \ --database . fi -if [ -d headers ] -then - echo "+ Génération des headers" - yum-arch . -fi - echo "+ Génération repoview" nom=${PWD#/home/rpmbuild/site/rpms/} echo repoview --url http://rpms.remirepo.net/$nom \ |