Split out a devel package
That should break the circular dependency with gts-gcc and gts-binutils. Related: RHEL-81745 Resolves: RHEL-88742
This commit is contained in:
parent
e527cb6052
commit
65b4317cf2
@ -27,14 +27,13 @@
|
|||||||
BuildRequires: scl-utils-build
|
BuildRequires: scl-utils-build
|
||||||
%else
|
%else
|
||||||
%include %{_sourcedir}/macros.gts
|
%include %{_sourcedir}/macros.gts
|
||||||
Conflicts: scl-utils-build
|
|
||||||
%endif
|
%endif
|
||||||
%{?scl_package:%scl_package %scl}
|
%{?scl_package:%scl_package %scl}
|
||||||
|
|
||||||
Summary: Package that installs %scl
|
Summary: Package that installs %scl
|
||||||
Name: %scl_name
|
Name: %scl_name
|
||||||
Version: %{gts_ver}.0
|
Version: %{gts_ver}.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -91,6 +90,14 @@ Requires(postun): libselinux policycoreutils-python
|
|||||||
|
|
||||||
%description runtime
|
%description runtime
|
||||||
Package shipping essential scripts to work with %scl Software Collection.
|
Package shipping essential scripts to work with %scl Software Collection.
|
||||||
|
%else
|
||||||
|
%package devel
|
||||||
|
Summary: Scripts needed to build GCC Toolset %gts_ver.
|
||||||
|
Group: Applications/File
|
||||||
|
Conflicts: scl-utils-build
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Package shipping scripts to build GCC Toolset %gts_ver.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -223,7 +230,6 @@ install -p -m 644 %{?scl_name}.7 %{buildroot}%{_mandir}/man7/
|
|||||||
%{_mandir}/man7/%{?scl_name}.*
|
%{_mandir}/man7/%{?scl_name}.*
|
||||||
%if %have_scl_utils == 0
|
%if %have_scl_utils == 0
|
||||||
%{_root_sysconfdir}/rpm/macros.%{scl}-enable
|
%{_root_sysconfdir}/rpm/macros.%{scl}-enable
|
||||||
%{_root_sysconfdir}/rpm/macros.%{scl}-build
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %have_scl_utils
|
%if %have_scl_utils
|
||||||
@ -252,9 +258,16 @@ if [ $1 = 0 ]; then
|
|||||||
/usr/sbin/semanage fcontext -d %{_scl_root}
|
/usr/sbin/semanage fcontext -d %{_scl_root}
|
||||||
[ -d %{_scl_root} ] && restorecon -R %{_scl_root} || :
|
[ -d %{_scl_root} ] && restorecon -R %{_scl_root} || :
|
||||||
fi
|
fi
|
||||||
|
%else
|
||||||
|
%files devel
|
||||||
|
%{_root_sysconfdir}/rpm/macros.%{scl}-build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 5 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-2
|
||||||
|
- Split out a devel package to break the dependency look with gts-gcc and
|
||||||
|
gts-binutils.
|
||||||
|
|
||||||
* Mon May 5 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-1
|
* Mon May 5 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-1
|
||||||
- Drop scl-utils dependency on c10s and later.
|
- Drop scl-utils dependency on c10s and later.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user