Fix a numer of issues with glibc post-install step

- Only add dependencies on file, glibc and patchelf if we are building
  CMSSW;
- Only execute post-install relocation for CMSSW. There are no binaries
  in CORAL;
- Remove GLIBC_ROOT environment variable. It was used for bash wrappers
  around cmsRun*. Not needed anymore;
- Do not source init.sh for file and patchelf as we install in
  /afs/.cern.ch (write/read) and then relocate to /afs/cern.ch
  (read-only). The paths in init.sh script are relocated, but files are
  not yet present on /afs/cern.ch. Use binaries directly by full path.
- If grep fails (does not find) the post-install scriplet fails. Ignore
  if grep finds nothing.

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
scram-project-build: relocate ELF for all non-CORAL projects

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
scram-project-build: use %pkgname instead of %n in post-install scriplet

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
scram-project-build: cosmetic changes

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Merge pull request #873 from davidlt/glibc-fixes

Fix a numer of issues with glibc post-install step