Spec File: Restore the SElinux context to %%{_libdir}.

Resolves: RHEL-22818
This commit is contained in:
Nick Clifton 2024-01-30 14:54:59 +00:00 committed by nick clifton
parent febfa59d57
commit 6a4c2e4e9f

View File

@ -9,7 +9,7 @@ BuildRequires: scl-utils-build
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?scl_prefix}binutils Name: %{?scl_prefix}binutils
Version: 2.40 Version: 2.40
Release: 17%{?dist} Release: 18%{?dist}
License: GPLv3+ License: GPLv3+
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -1134,6 +1134,9 @@ exit 0
# BZ 2232410: We cannot be sure that the GTS runtime rpm has restored the SE context. # BZ 2232410: We cannot be sure that the GTS runtime rpm has restored the SE context.
restorecon -R %{_scl_root}/usr/share/locale restorecon -R %{_scl_root}/usr/share/locale
# RHEL-22817:
restorecon -R %{_libdir}
exit 0 exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
@ -1286,6 +1289,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %changelog
* Tue Jan 30 2024 Nick Clifton <nickc@redhat.com> - 2.40-18
- Spec File: Restore the SElinux context to %%{_libdir}. (RHEL-22818)
* Thu Jan 11 2024 Nick Clifton <nickc@redhat.com> - 2.40-17 * Thu Jan 11 2024 Nick Clifton <nickc@redhat.com> - 2.40-17
- Spec File: Do not use of the system zlib by default. (RHEL-19373) - Spec File: Do not use of the system zlib by default. (RHEL-19373)
- Spec File: Do not check the mtime of ld.bfd. (RHEL-21303) - Spec File: Do not check the mtime of ld.bfd. (RHEL-21303)