diff --git a/config-do-not-define-DEBUGINFOD_URLS-environment-var.patch b/config-do-not-define-DEBUGINFOD_URLS-environment-var.patch deleted file mode 100644 index 29abbcb..0000000 --- a/config-do-not-define-DEBUGINFOD_URLS-environment-var.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 911ac29b9eed3c66bba60eda6af8e5de62607e5c Mon Sep 17 00:00:00 2001 -From: "Dmitry V. Levin" -Date: Wed, 4 Nov 2020 08:00:00 +0000 -Subject: [PATCH] config: do not define DEBUGINFOD_URLS environment variable - unnecessarily - -Before this change, when elfutils was configured without ---enable-debuginfod-urls, the installed profile.d/debuginfod.sh and -profile.d/debuginfod.csh scripts used to define the DEBUGINFOD_URLS -environment variable as an non-empty string containing spaces, making -all libdebuginfod users do extra work. - -Change these scripts to avoid defining the DEBUGINFOD_URLS environment -variable unless configured using --enable-debuginfod-urls. - -Signed-off-by: Dmitry V. Levin ---- - config/ChangeLog | 5 +++++ - config/profile.csh.in | 13 +++++++++++-- - config/profile.sh.in | 7 ++++--- - 3 files changed, 20 insertions(+), 5 deletions(-) - -diff --git a/config/profile.csh.in b/config/profile.csh.in -index 4f25896d..0a2d6d16 100644 ---- a/config/profile.csh.in -+++ b/config/profile.csh.in -@@ -1,2 +1,11 @@ -- --setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS @DEBUGINFOD_URLS@" -+if ("@DEBUGINFOD_URLS@" != "") then -+ if ($?DEBUGINFOD_URLS) then -+ if ($%DEBUGINFOD_URLS) then -+ setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS @DEBUGINFOD_URLS@" -+ else -+ setenv DEBUGINFOD_URLS "@DEBUGINFOD_URLS@" -+ endif -+ else -+ setenv DEBUGINFOD_URLS "@DEBUGINFOD_URLS@" -+ endif -+endif -diff --git a/config/profile.sh.in b/config/profile.sh.in -index 8a022489..aa228a0d 100644 ---- a/config/profile.sh.in -+++ b/config/profile.sh.in -@@ -1,3 +1,4 @@ -- --DEBUGINFOD_URLS="$DEBUGINFOD_URLS @DEBUGINFOD_URLS@" --export DEBUGINFOD_URLS -+if [ -n "@DEBUGINFOD_URLS@" ]; then -+ DEBUGINFOD_URLS="${DEBUGINFOD_URLS-}${DEBUGINFOD_URLS:+ }@DEBUGINFOD_URLS@" -+ export DEBUGINFOD_URLS -+fi --- -2.29.2 - diff --git a/elfutils-0.182.tar.bz2 b/elfutils-0.182.tar.bz2 deleted file mode 100644 index c88a734..0000000 --- a/elfutils-0.182.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858 -size 9096742 diff --git a/elfutils-0.182.tar.bz2.sig b/elfutils-0.182.tar.bz2.sig deleted file mode 100644 index 4221e6d..0000000 Binary files a/elfutils-0.182.tar.bz2.sig and /dev/null differ diff --git a/elfutils-0.183.tar.bz2 b/elfutils-0.183.tar.bz2 new file mode 100644 index 0000000..303e6e8 --- /dev/null +++ b/elfutils-0.183.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3637c208d309d58714a51e61e63f1958808fead882e9b607506a29e5474f2c5 +size 9109254 diff --git a/elfutils-0.183.tar.bz2.sig b/elfutils-0.183.tar.bz2.sig new file mode 100644 index 0000000..e82d486 Binary files /dev/null and b/elfutils-0.183.tar.bz2.sig differ diff --git a/elfutils-debuginfod.changes b/elfutils-debuginfod.changes index 353961b..844eb22 100644 --- a/elfutils-debuginfod.changes +++ b/elfutils-debuginfod.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Feb 8 10:59:08 UTC 2021 - Martin Liška + +- Update to version 0.183: + debuginfod: New thread-busy metric and more detailed error metrics. + New --fdcache-mintmp and tracking of filesystem freespace. + New increased webapi concurrency while grooming. + + debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which + can be used to dlopen the libdebuginfod.so library. + New function debuginfod_set_verbose_fd and + DEBUGINFOD_VERBOSE environment variable. + + config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless + configured --enable-debuginfod-urls[=URLS] + + elflint, readelf: Recognize SHF_GNU_RETAIN. + Handle SHT_X86_64_UNWIND as valid relocation target. +- Remove config-do-not-define-DEBUGINFOD_URLS-environment-var.patch patch. + ------------------------------------------------------------------- Mon Jan 4 12:01:02 UTC 2021 - Martin Liška diff --git a/elfutils-debuginfod.spec b/elfutils-debuginfod.spec index f0b27c2..e3e2309 100644 --- a/elfutils-debuginfod.spec +++ b/elfutils-debuginfod.spec @@ -17,7 +17,7 @@ Name: elfutils-debuginfod -Version: 0.182 +Version: 0.183 Release: 0 Summary: Debuginfod server provided by elfutils License: GPL-3.0-or-later @@ -28,7 +28,6 @@ Source: https://fedorahosted.org/releases/e/l/elfutils/%{version}/elfuti Source1: https://fedorahosted.org/releases/e/l/elfutils/%{version}/elfutils-%{version}.tar.bz2.sig Source2: elfutils.changes Source3: elfutils.keyring -Patch0: config-do-not-define-DEBUGINFOD_URLS-environment-var.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison diff --git a/elfutils.changes b/elfutils.changes index de48140..f0a1d77 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Feb 8 10:59:08 UTC 2021 - Martin Liška + +- Update to version 0.183: + debuginfod: New thread-busy metric and more detailed error metrics. + New --fdcache-mintmp and tracking of filesystem freespace. + New increased webapi concurrency while grooming. + + debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which + can be used to dlopen the libdebuginfod.so library. + New function debuginfod_set_verbose_fd and + DEBUGINFOD_VERBOSE environment variable. + + config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless + configured --enable-debuginfod-urls[=URLS] + + elflint, readelf: Recognize SHF_GNU_RETAIN. + Handle SHT_X86_64_UNWIND as valid relocation target. +- Remove config-do-not-define-DEBUGINFOD_URLS-environment-var.patch patch. + ------------------------------------------------------------------- Wed Jan 20 12:16:31 UTC 2021 - Martin Liška diff --git a/elfutils.spec b/elfutils.spec index 408b97a..48c1b9d 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -17,7 +17,7 @@ Name: elfutils -Version: 0.182 +Version: 0.183 Release: 0 Summary: Higher-level library to access ELF files License: GPL-3.0-or-later @@ -165,6 +165,8 @@ chmod a+x tests/run*.sh %make_install # remove unneeded files rm -f %{buildroot}/%{_libdir}/*.la +rm -f %{buildroot}/%{_sysconfdir}/profile.d/debuginfod.*sh +rm -f %{buildroot}/%{_libdir}/pkgconfig/libdebuginfod.pc ls -lR %{buildroot}/%{_libdir}/libelf* %find_lang %{name}