update buildroot sed
@@ -70,7 +70,7 @@ export PATH=${LMOD_DIR}:${PATH}
MODULEPATH= python ./bootstrap_eb.py %{buildroot}/%{install_path}
-sed -i 's|%{buildroot}||g' %{buildroot}%{install_path}/modules/all/EasyBuild/%{version}
+sed -i 's|%{buildroot}||g' $(egrep -IR '%{buildroot}%{install_path}/modules/all/EasyBuild' ./|awk -F : '{print $1}')
rm bootstrap_eb.py
pushd %{buildroot}%{install_path}/modules/tools/EasyBuild/
rm %{version}
