diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 75172c2144..7cfe7fa999 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -270,7 +270,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage): patch('sys_ustat-4.9.patch', when='@4.9') # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005 - patch('zstd.patch', when='@10:') + patch('zstd.patch', when='@10.0:10.2') build_directory = 'spack-build'