From ed14055b6d44de68f93c2e6a4deb9dcc23b444c9 Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 12 Mar 2021 13:37:49 -0500 Subject: [PATCH] Import rhpkg source_entry_type change. --- src/centpkg/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index 1b7f530..4055303 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -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):