Drop mention of Software collections from all documentation

Resolves: RHEL-88743
This commit is contained in:
Siddhesh Poyarekar 2025-05-15 11:32:23 -04:00 committed by Siddhesh Poyarekar
parent 6890fadb85
commit 87488aeddb
2 changed files with 15 additions and 11 deletions

19
README
View File

@ -1,28 +1,27 @@
Package %{scl_name} is the main package for Red Hat GCC
Toolset 15. By installing the %{scl_name} package, you will get
the working set of packages that are included in Red Hat GCC
Toolset 15, which includes development and debugging tools.
Toolset 15, which includes the compiler and linker.
Usage: scl enable %{scl} <command>
Usage: %{scl_name}-env [command]
Red Hat GCC Toolset allows you to build and execute applications
which are not located in the filesystem root hierarchy, but are
stored in an alternative location, which is %{_scl_root} in case
of the %{scl_name} collection.
of %{scl_name}.
Examples:
scl enable %{scl_name} 'command --arg'
%{scl_name}-env
Run an interactive shell wherein %{scl_name} is enabled.
%{scl_name}-env 'command --arg'
Run a specific command with the argument --arg within the %{scl_name}
Red Hat GCC Toolset environment.
scl enable %{scl_name} 'gcc'
%{scl_name}-env 'gcc'
Run GCC from the %{scl_name} Red Hat GCC Toolset.
scl enable %{scl_name} 'bash'
Run an interactive shell wherein the %{scl_name} software collection
is enabled.
scl enable %{scl_name} 'man gcc'
%{scl_name}-env 'man gcc'
Show man pages for the gcc command, which is a part of the
%{scl_name} Red Hat GCC Toolset.

View File

@ -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