#9 Import rhpkg source_entry_type change.
Merged 3 years ago by bstinson. Opened 3 years ago by jamesantill.
centos/ jamesantill/centpkg develop  into  develop

Import rhpkg source_entry_type change.
James Antill • 3 years ago  
file modified
+3
@@ -96,6 +96,9 @@ 

              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):

This makes centpkg new-sources do the right thing.

Pull-Request has been merged by bstinson

3 years ago
Metadata