From 4231a20efe89161e03b9082fb23b8ed6cd0a466f Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 12 Nov 2024 10:56:34 +0000 Subject: [PATCH] import UBI coreutils-8.32-36.el9 --- SOURCES/coreutils-i18n.patch | 2 +- SPECS/coreutils.spec | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/SOURCES/coreutils-i18n.patch b/SOURCES/coreutils-i18n.patch index ad2fa2e..0eb3851 100644 --- a/SOURCES/coreutils-i18n.patch +++ b/SOURCES/coreutils-i18n.patch @@ -412,7 +412,7 @@ index 8cd0d6b..d23edd5 100644 + if (istream == NULL) + { + error (0, errno, "%s", filename); -+ return 1; ++ return false; + } + + /* Define how ISTREAM is being folded. */ diff --git a/SPECS/coreutils.spec b/SPECS/coreutils.spec index b15ac63..487ae6c 100644 --- a/SPECS/coreutils.spec +++ b/SPECS/coreutils.spec @@ -1,7 +1,7 @@ Summary: A set of basic GNU tools commonly used in shell scripts Name: coreutils Version: 8.32 -Release: 35%{?dist} +Release: 36%{?dist} License: GPLv3+ Url: https://www.gnu.org/software/coreutils/ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz @@ -216,11 +216,6 @@ autoreconf -fiv %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fpic" -# disable -flto on ppc64le to make test-float pass (#1789115) -%ifarch ppc64le -CFLAGS="$CFLAGS -fno-lto" -%endif - # Upstream suggests to build with -Dlint for static analyzers: # https://lists.gnu.org/archive/html/coreutils/2018-06/msg00110.html # ... and even for production binary RPMs: @@ -327,7 +322,11 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir %license COPYING %changelog -* Mon Jan 29 2024 Lukáš Zaoral +* Fri Aug 16 2024 Lukáš Zaoral - 8.32-36 +- fix fold exit code for non-existent files (RHEL-54568) +- enable LTO on ppc64le + +* Mon Jan 29 2024 Lukáš Zaoral - 8.32-35 - fix tail on kernels with 64k page sizes (RHEL-22866) * Mon Jan 02 2023 Kamil Dudka - 8.32-34