Manage repository directory structure.

Make createrepo resources depend on the underlying file resources.