Description of problem:
When rebuilding glibc, the following error appears when no perl is
+ perl -pi -e 's/0 \|\|/1 ||/' ../elf/tst-tls10.h
/var/tmp/rpm-tmp.76641: line 31: perl: command not found
error: Bad exit status from /var/tmp/rpm-tmp.76641 (%build)
perl is called twice in the specfile to search and replace certain
perl -pi -e 's/0 \|\|/1 ||/' ../elf/tst-tls10.h ../linuxthreads/tst-tls1.h
perl -pi -e 's/alarm \(TIMEOUT\)/alarm (TIMEOUT * 15 * '$numprocs' <
600 ? TIMEOUT * 15 * '$numprocs' : 600)/' \
Both should be changed to sed calls such as "sed -ie 's/0 \|\|/1 ||/'
../elf/tst-tls10.h ../linuxthreads/tst-tls1.h" as needing perl for
rebuilding glibc is a bit much.
Otherwise, at least BuildRequires: perl should be added to facilate
Version-Release number of selected component (if applicable):
We have adjusted the glibc.spec file currently in use. glibc-2.3.3-66
or higher once available will have the changes.