diff --git a/dist/ta-lib-0.6.0-src.tar.gz b/dist/ta-lib-0.6.0-src.tar.gz index 87232db1..39e4f3e9 100644 Binary files a/dist/ta-lib-0.6.0-src.tar.gz and b/dist/ta-lib-0.6.0-src.tar.gz differ diff --git a/dist/ta-lib_0.6.0_amd64.deb b/dist/ta-lib_0.6.0_amd64.deb index 160623e9..b7ff90ae 100644 Binary files a/dist/ta-lib_0.6.0_amd64.deb and b/dist/ta-lib_0.6.0_amd64.deb differ diff --git a/dist/ta-lib_0.6.0_arm64.deb b/dist/ta-lib_0.6.0_arm64.deb index 0d4e5a3f..b03bd435 100644 Binary files a/dist/ta-lib_0.6.0_arm64.deb and b/dist/ta-lib_0.6.0_arm64.deb differ diff --git a/dist/ta-lib_0.6.0_x86.deb b/dist/ta-lib_0.6.0_x86.deb index a9233258..541f76f0 100644 Binary files a/dist/ta-lib_0.6.0_x86.deb and b/dist/ta-lib_0.6.0_x86.deb differ diff --git a/scripts/utilities/files.py b/scripts/utilities/files.py index 0c3cc071..2b147f98 100644 --- a/scripts/utilities/files.py +++ b/scripts/utilities/files.py @@ -109,16 +109,24 @@ def compare_tar_gz_files(tar_gz_file1, tar_gz_file2) -> bool: # Remove in both temp directory all library files. # Only the remaining source files will be compared. + remove_lib_files_recursive(temp_extract_path1) + remove_lib_files_recursive(temp_extract_path2) - # Note: As of right now, CI and local build are deterministic for me - # with Ubuntu. + # Because of subtle difference between various + # version of autotools, ignore also a few of its + # generated files. They just "do not matter" as much. # - # Uncomment the following if the library build is somehow - # not deterministic anymore... - - # remove_lib_files_recursive(temp_extract_path1) - # remove_lib_files_recursive(temp_extract_path2) + # Source file differences are what matter the most + # to trig re-packaging. + for root, dirs, files in os.walk(temp_extract_path1): + for file in files: + if file == 'Makefile.in' or file == 'configure' or file == 'ltmain.sh': + os.remove(os.path.join(root, file)) + for root, dirs, files in os.walk(temp_extract_path2): + for file in files: + if file == 'Makefile.in' or file == 'configure' or file == 'ltmain.sh': + os.remove(os.path.join(root, file)) return compare_dir_recursive(temp_extract_path1, temp_extract_path2)