Restore the SE context during the post install phase.
Resolves: #2236729
This commit is contained in:
parent
b9c952a32c
commit
3cd6cf3f9a
@ -9,7 +9,7 @@ BuildRequires: scl-utils-build
|
||||
Summary: A GNU collection of binary utilities
|
||||
Name: %{?scl_prefix}binutils
|
||||
Version: 2.40
|
||||
Release: 13%{?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 <nickc@redhat.com> - 2.40-15
|
||||
- Restore the SE context during the post install phase. (#2236729)
|
||||
|
||||
* Thu Aug 03 2023 Nick Clifton <nickc@redhat.com> - 2.40-13
|
||||
- Spec File: Really fix building with GTS-13 gcc. (#2217819) (#2225130)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user