forked from rpms/glibc
Adjust glibc.req so that egrep does not cause eu-readelf to fail
This commit is contained in:
parent
22321f2b31
commit
8142038783
@ -28,8 +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.
|
||||
if eu-readelf -s "$path" | egrep -q '\sUNDEF\s.*@''@SYMVER@(\s|$)'
|
||||
# dependency. Do not use "egrep -q" 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
|
||||
then
|
||||
echo 'glibc >= @VERSION@-@RELEASE@'
|
||||
# Stop searching after the first match, but keep reading from
|
||||
|
@ -111,7 +111,7 @@
|
||||
Summary: The GNU libc libraries
|
||||
Name: glibc
|
||||
Version: %{glibcversion}
|
||||
Release: 27%{?dist}
|
||||
Release: 28%{?dist}
|
||||
|
||||
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
||||
# libraries.
|
||||
@ -2212,6 +2212,9 @@ fi
|
||||
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
||||
|
||||
%changelog
|
||||
* Sun Jun 27 2021 Florian Weimer <fweimer@redhat.com> - 2.33.9000-28
|
||||
- Adjust glibc.req so that egrep does not cause eu-readelf to fail
|
||||
|
||||
* Sun Jun 27 2021 Florian Weimer <fweimer@redhat.com> - 2.33.9000-27
|
||||
- Drop glibc-revert-dtv-gap-reuse.patch, applied upstream.
|
||||
- Auto-sync with upstream branch master,
|
||||
|
Loading…
Reference in New Issue
Block a user