Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
createrepo
> createrepo-0.4.10-cachefix.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File createrepo-0.4.10-cachefix.patch of Package createrepo
--- dumpMetadata.py +++ dumpMetadata.py @@ -603,8 +603,8 @@ t.append("".join(self.hdr[rpm.RPMTAG_SIGGPG])) if type(self.hdr[rpm.RPMTAG_SIGPGP]) is not types.NoneType: t.append("".join(self.hdr[rpm.RPMTAG_SIGPGP])) - if type(self.hdr[rpm.RPMTAG_HDRID]) is not types.NoneType: - t.append("".join(self.hdr[rpm.RPMTAG_HDRID])) + if type(self.hdr[rpm.RPMTAG_SHA1HEADER]) is not types.NoneType: + t.append("".join(self.hdr[rpm.RPMTAG_SHA1HEADER])) key = md5.new("".join(t)).hexdigest()