Remove egrep uses that have crept back in
egrep will start to warn in the next coreutils release.
This commit is contained in:
parent
9d11138b6b
commit
5c27a7014b
@ -28,10 +28,10 @@ eu-elfclassify --loadable --file --stdin --print | while read path; do
|
||||
if $searching; then
|
||||
# Undefined symbols within latest, under-development
|
||||
# (changing) symbol versions trigger the versioned RPM
|
||||
# dependency. Do not use "egrep -q" to keep reading from the
|
||||
# dependency. Do not use "grep -Eq" to keep reading from the
|
||||
# pipe, avoiding a spurious EPIPE error in eu-readelf.
|
||||
if eu-readelf -s "$path" \
|
||||
| egrep '\sUNDEF\s.*@''@SYMVER@(\s|$)' >/dev/null
|
||||
| grep -E '\sUNDEF\s.*@''@SYMVER@(\s|$)' >/dev/null
|
||||
then
|
||||
echo 'glibc >= @VERSION@-@RELEASE@'
|
||||
# Stop searching after the first match, but keep reading from
|
||||
|
@ -1716,8 +1716,8 @@ grep '%{_prefix}/include/gnu/stubs-.*\.h$' < master.filelist >> devel.filelist |
|
||||
grep '%{_prefix}/include/gnu/lib-names-.*\.h$' < master.filelist >> devel.filelist || :
|
||||
# Put the include files into headers file list.
|
||||
grep '%{_prefix}/include' < master.filelist \
|
||||
| egrep -v '%{_prefix}/include/gnu/stubs-.*\.h$' \
|
||||
| egrep -v '%{_prefix}/include/gnu/lib-names-.*\.h$' \
|
||||
| grep -E -v '%{_prefix}/include/gnu/stubs-.*\.h$' \
|
||||
| grep -E -v '%{_prefix}/include/gnu/lib-names-.*\.h$' \
|
||||
> headers.filelist
|
||||
%else
|
||||
# If there is no glibc-headers package, all header files go into the
|
||||
|
Loading…
Reference in New Issue
Block a user