[PyQt] [PATCH] sort file list in RECORD

Bernhard M. Wiedemann bwiedemann at suse.de
Fri Jun 14 09:51:36 BST 2019


Make package build reproducible.
See https://reproducible-builds.org/ for why this is good.

Index: PyQt5_gpl-5.12.1/mk_distinfo.py
===================================================================
--- PyQt5_gpl-5.12.1.orig/mk_distinfo.py
+++ PyQt5_gpl-5.12.1/mk_distinfo.py
@@ -86,6 +86,8 @@ for name in installed:
         all_fns = []
 
         for root, dirs, files in os.walk(native_name):
+            dirs.sort()
+            files.sort()
             for f in files:
                 all_fns.append(os.path.join(root, f).replace(os.sep, '/'))
 


More information about the PyQt mailing list