File createrepo-0.9.8-workaround-umask-reset.patch of Package createrepo
--- createrepo/yumbased.py.orig 2010-12-27 12:44:04.000000000 +0100 +++ createrepo/yumbased.py 2010-12-27 12:44:16.000000000 +0100 @@ -16,7 +16,9 @@ import os +u = os.umask(0) import rpm +os.umask(u) import types from yum.packages import YumLocalPackage