From b13691fe54bf717c23ba13ae8ff4debe6385f2ae Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 11 Sep 2023 12:14:24 +0100 Subject: [PATCH] Restore the SE context during the post install phase. Resolves: #2232410 --- binutils.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/binutils.spec b/binutils.spec index 01cceba..ebbfb1d 100644 --- a/binutils.spec +++ b/binutils.spec @@ -9,7 +9,7 @@ BuildRequires: scl-utils-build Summary: A GNU collection of binary utilities Name: %{?scl_prefix}binutils Version: 2.40 -Release: 14%{?dist} +Release: 15%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -349,7 +349,7 @@ Requires(post): %{alternatives_cmd} Requires(preun): %{alternatives_cmd} # We also need rm. -Requires(post): coreutils +Requires(post): coreutils policycoreutils %if %{with gold} # For now we make the binutils package require the gold sub-package. @@ -1125,6 +1125,9 @@ exit 0 %ldconfig_post +# BZ 2232410: We cannot be sure that the GTS runtime rpm has restored the SE context. +restorecon -R %{_scl_root}/usr/share/locale + exit 0 #---------------------------------------------------------------------------- @@ -1276,6 +1279,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Mon Sep 11 2023 Nick Clifton - 2.40-15 +- Restore the SE context during the post install phase. (#2232410) + * Thu Aug 03 2023 Nick Clifton - 2.40-14 - Add expected linker test failure for s390x. (#2228870)