mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
Import rhpkg source_entry_type change.
This commit is contained in:
parent
19f4c144bf
commit
ed14055b6d
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ class Commands(Commands):
|
|||
Init the object and some configuration details.
|
||||
'''
|
||||
super(Commands, self).__init__(*args, **kwargs)
|
||||
# For MD5 we want to use the old format of source files, the BSD format
|
||||
# should only be used when configured for SHA512
|
||||
self.source_entry_type = 'bsd' if self.lookasidehash != 'md5' else 'old'
|
||||
|
||||
@property
|
||||
def distgitdir(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue