From d3b454c0a1292c2cc841020429722cbd7eb8ef06 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 24 2022 15:03:22 +0000 Subject: import devtoolset-11-11.1-2.el7 --- diff --git a/SPECS/devtoolset-11.spec b/SPECS/devtoolset-11.spec index 616f968..02f65f5 100644 --- a/SPECS/devtoolset-11.spec +++ b/SPECS/devtoolset-11.spec @@ -4,8 +4,8 @@ Summary: Package that installs %scl Name: %scl_name -Version: 11.0 -Release: 3%{?dist} +Version: 11.1 +Release: 2%{?dist} License: GPLv2+ Group: Applications/File BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -123,7 +123,7 @@ help2man -N --section 7 ./h2m_helper -o %{?scl_name}.7 cat <enable # General environment variables export PATH=%{_bindir}\${PATH:+:\${PATH}} -export MANPATH=%{_mandir}:\${MANPATH} +export MANPATH=%{_mandir}\${MANPATH:+:\${MANPATH}} export INFOPATH=%{_infodir}\${INFOPATH:+:\${INFOPATH}} export PCP_DIR=%{_scl_root} # bz847911 workaround: @@ -132,12 +132,17 @@ export PCP_DIR=%{_scl_root} rpmlibdir=\$(rpm --eval "%%{_libdir}") # bz1017604: On 64-bit hosts, we should include also the 32-bit library path. # bz1873882: On 32-bit hosts, we should include also the 64-bit library path. +# bz2027377: Avoid unbound variables if [ "\$rpmlibdir" != "\${rpmlibdir/lib64/}" ]; then rpmlibdir32=":%{_scl_root}\${rpmlibdir/lib64/lib}" dynpath32="\$rpmlibdir32/dyninst" + rpmlibdir64= + dynpath64= else rpmlibdir64=":%{_scl_root}\${rpmlibdir/lib/lib64}" dynpath64="\$rpmlibdir64/dyninst" + rpmlibdir32= + dynpath32= fi # Add SCL dyninst to LD_LIBRARY_PATH, both 64- and 32-bit paths. export LD_LIBRARY_PATH=%{_scl_root}\$rpmlibdir/dyninst\$dynpath64\$dynpath32\${LD_LIBRARY_PATH:+:\${LD_LIBRARY_PATH}} @@ -213,6 +218,15 @@ if [ $1 = 0 ]; then fi %changelog +* Fri Dec 17 2021 Marek Polacek - 11.1-2 +- fix unbound variables in 'MANPATH' (#2027377) + +* Mon Nov 29 2021 Marek Polacek - 11.1-1 +- fix unbound variables in 'enable' (#2027377) + +* Wed Nov 3 2021 Marek Polacek - 11.1-0 +- rebuild for DTS 11.1 (#2019928) + * Wed Jul 28 2021 Marek Polacek - 11.0-3 - require annobin