Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package elfutils for openSUSE:Factory checked in at 2021-01-22 21:48:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/elfutils (Old) and /work/SRC/openSUSE:Factory/.elfutils.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elfutils" Fri Jan 22 21:48:52 2021 rev:83 rq:860398 version:0.182 Changes: -------- --- /work/SRC/openSUSE:Factory/elfutils/elfutils-debuginfod.changes 2020-12-21 10:22:24.563927341 +0100 +++ /work/SRC/openSUSE:Factory/.elfutils.new.28504/elfutils-debuginfod.changes 2021-01-22 21:48:52.561555675 +0100 @@ -1,0 +2,6 @@ +Mon Jan 4 12:01:02 UTC 2021 - Martin Li??ka <[email protected]> + +- Add upstream config-do-not-define-DEBUGINFOD_URLS-environment-var.patch + in order to fix boo#1180306. + +------------------------------------------------------------------- New: ---- config-do-not-define-DEBUGINFOD_URLS-environment-var.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ elfutils-debuginfod.spec ++++++ --- /var/tmp/diff_new_pack.fFlPSh/_old 2021-01-22 21:48:53.257556662 +0100 +++ /var/tmp/diff_new_pack.fFlPSh/_new 2021-01-22 21:48:53.257556662 +0100 @@ -1,7 +1,7 @@ # # spec file for package elfutils-debuginfod # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ 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 ++++++ elfutils.spec ++++++ --- /var/tmp/diff_new_pack.fFlPSh/_old 2021-01-22 21:48:53.297556719 +0100 +++ /var/tmp/diff_new_pack.fFlPSh/_new 2021-01-22 21:48:53.301556725 +0100 @@ -1,7 +1,7 @@ # # spec file for package elfutils # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ config-do-not-define-DEBUGINFOD_URLS-environment-var.patch ++++++ >From 911ac29b9eed3c66bba60eda6af8e5de62607e5c Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" <[email protected]> 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 <[email protected]> --- 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
