From 3e9912469621ff51458c115e14791376662a98d4 Mon Sep 17 00:00:00 2001 From: Patrick Palka Date: Mon, 29 Apr 2024 10:56:37 -0400 Subject: [PATCH] Avoid use of undefined rpm variable %{_root_datair} is defined as ${_prefix}/share by the %scl_package macro, which we don't invoke, so replace its use accordingly. Resolves: RHEL-30154 --- compat-sap-c++-13.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compat-sap-c++-13.spec b/compat-sap-c++-13.spec index 6e7aa62..9b04528 100644 --- a/compat-sap-c++-13.spec +++ b/compat-sap-c++-13.spec @@ -149,7 +149,7 @@ Summary: C++ compatibility runtime library for SAP applications Name: %{?scl_prefix}c++-13 ExclusiveArch: x86_64 ppc64le s390x Version: %{gcc_version} -Release: %{gcc_release}.3.1%{?dist} +Release: %{gcc_release}.3.2%{?dist} # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -630,7 +630,7 @@ CONFIGURE_OPTS="\ %endif --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \ --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only \ - --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=%{_root_datadir}/zoneinfo \ + --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=%{_prefix}/share/zoneinfo \ %ifnarch %{mips} --with-linker-hash-style=gnu \ %endif @@ -867,5 +867,5 @@ fi %end %changelog -* Sun Apr 28 2024 Patrick Palka 13.2.1-6.3.1 +* Mon Apr 29 2024 Patrick Palka 13.2.1-6.3.2 - new package