This commit is contained in:
Ed Reel
2024-09-11 12:33:24 -05:00
committed by GitHub
parent 7325468db2
commit 679c419673
8 changed files with 44 additions and 28 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.37, or whatever the system glibc is.
# Delete -glibc2.39, 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}$/, '')