Revert "Revert #10453 (#10456)" (#10460)

This reverts commit 679c419673.
This commit is contained in:
Maximilian Downey Twiss
2024-09-12 07:21:26 +10:00
committed by GitHub
parent 7becc01581
commit 2fcf2cb590
8 changed files with 28 additions and 44 deletions

View File

@@ -79,7 +79,7 @@ class PackageUtils
pkg_version.gsub!(/-perl5\.\d{2}/, '')
# Delete -llvm18, futureproofed until llvm 100
pkg_version.gsub!(/-llvm\d{2}/, '')
# Delete -glibc2.39, or whatever the system glibc is.
# Delete -glibc2.37, or whatever the system glibc is.
pkg_version.delete_suffix!("-glibc#{LIBC_VERSION}")
# Delete git version tags (1.2.4-qnd73k6), avoiding overmatching and hitting things that arent git hashtags.
pkg_version.gsub!(/-[\w]{7}$/, '')