<p dir="ltr">Use createrepo, its man page should be more than enough.</p>
<p dir="ltr">H.</p>