From 3689f84db2a3e361e5115f4faeac32ff6485ddbb Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 15 May 2025 11:32:23 -0400 Subject: [PATCH] Drop mention of Software collections from all documentation Adapted to c9s. Related: RHEL-81741 Resolves: RHEL-91830 (cherry picked from commit 87488aeddb1f907a504dd08fe103fcc202fc01d5) --- gcc-toolset-15.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc-toolset-15.spec b/gcc-toolset-15.spec index 72585cc..f4eed9b 100644 --- a/gcc-toolset-15.spec +++ b/gcc-toolset-15.spec @@ -113,10 +113,15 @@ EOF %build # Temporary helper script used by help2man. +%if %have_scl_utils +%define version_string %{?scl_name} %{version} Software Collection +%else +%define version_string %{?scl_name} %{version} +%endif cat <<\EOF | tee h2m_helper #!/bin/sh if [ "$1" = "--version" ]; then - printf '%%s' "%{?scl_name} %{version} Software Collection" + printf '%%s' "%{version_string}" else cat README fi