dev-tools/spack: remove binary which should presumably not be in repo (breaks
Leap 15.3 build)
@@ -76,6 +76,9 @@ grep -rl '#!/bin/env ' . | xargs -i@ sed -i 's|#!/bin/env|#!/usr/bin/env|g' @
mkdir -p %{buildroot}%{install_path}
rsync -av --exclude=.gitignore {etc,bin,lib,var,share} %{buildroot}%{install_path}
+# remove embedded binary with /usr/tce rpaths that breaks Leap 15.3 builds
+rm -f %{buildroot}/%{install_path}/var/spack/repos/builtin/packages/patchelf/test/hello
+
# OpenHPC module file
%{__mkdir} -p %{buildroot}/%{OHPC_ADMIN}/modulefiles/spack
%{__cat} << EOF > %{buildroot}/%{OHPC_ADMIN}/modulefiles/spack/%{version}
