From 2d294516500244f304eced1e288942fa281a6a0a Mon Sep 17 00:00:00 2001 From: zhuhongbo Date: Fri, 18 Jul 2025 13:32:45 +0800 Subject: [PATCH] ppc builds for multilib support --- 0001-fix-cve-CVE-2014-9474.patch | 4 ++-- mpfr.spec | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/0001-fix-cve-CVE-2014-9474.patch b/0001-fix-cve-CVE-2014-9474.patch index f68c12f..fec725c 100644 --- a/0001-fix-cve-CVE-2014-9474.patch +++ b/0001-fix-cve-CVE-2014-9474.patch @@ -1,6 +1,6 @@ -From 90a535f40e67458fd29cdbadaaf2902d31fc3f67 Mon Sep 17 00:00:00 2001 +From 24f984072ebe8cae42a2ad6634db0a72fd3f276a Mon Sep 17 00:00:00 2001 From: zhuhongbo -Date: Thu, 10 Jul 2025 15:21:21 +0800 +Date: Fri, 18 Jul 2025 14:03:49 +0800 Subject: [PATCH] fix cve CVE-2014-9474 --- diff --git a/mpfr.spec b/mpfr.spec index 2a414c2..a6115ea 100644 --- a/mpfr.spec +++ b/mpfr.spec @@ -1,7 +1,7 @@ Summary: A C library for multiple-precision floating-point computations Name: mpfr Version: 3.1.1 -Release: 4%{?dist}.2 +Release: 4%{?dist}.3 URL: http://www.mpfr.org/ Source0: http://www.mpfr.org/mpfr-current/%{name}-%{version}.tar.xz Patch0: 0001-fix-cve-CVE-2014-9474.patch @@ -14,6 +14,10 @@ Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: gmp >= 4.2.1 +# To help removing older versions of the packages on architectures that +# no longer support multilib +Conflicts: mpfr < %{version}-%{release} + %description The MPFR library is a C library for multiple-precision floating-point computations with "correct rounding". The MPFR is efficient and @@ -87,6 +91,9 @@ fi %{_infodir}/mpfr.info* %changelog +* Thu Jul 10 2025 zhuhongbo - 3.1.1-4.3 +- ppc builds for multilib support + * Thu Jul 10 2025 zhuhongbo - 3.1.1-4.2 - fix: fix cve CVE-2014-9474 -- Gitee